Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #user welcome
- print ("Please Enter your name below:")
- user = str(input())
- print ("")
- print ("welcome " + user + ", please enter you number below:")
- #loop function
- for i in range(999999):
- n = float(input()) #Reads the number input and assigns it to the variable "n"
- if n == 10:
- print ("The number given is equal to 10")
- else:
- if n > 10:
- print ("The number given is greater than 10")
- else:
- print ("The number given is lower than 10")
Advertisement
Add Comment
Please, Sign In to add comment