- 1
Program for python
2 Answers
+ 13
Input function is given as input(), raw_input() functions.
Output function is given as output() function.
0
What do you mean
If you want a program to write
Guessing game
Import random
Answer=random.randint(1,1000)
print("what number am I thinking of out of 1000")
While True:
guess=int(input(ââ))
If guess>answer:
print("too highâ)
elif guess<answer:
print("too lowâ)
elif guess==answer:
print("You Winâ)