Week 5 Sample Program

posted Nov 4, 2016, 9:00 PM by Attila Lengyel
We learned from this book. http://www.openbookproject.net/books/bpp4awd/index.html 

We used this little program to discuss integers and floats, conditions and control flows.

innum = float(input("Give me a number:"))


if (innum > 10):
print("The number is greater than 10")
elif (innum < 10):
print("The number is less than 10")
print("The number is equal to 10")