Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- print("Hi! What's your name?????")
- myName=input()
- print("Hello " + myName)
- number = random.randint(1,10)
- print("Well, " + myName + ", I am thinking of a number between 1 and 10.")
- print("What it is?")
- guess = int(input())
- if guess==number:
- print("yea!!!!!")
- else:
- print("You are wrong")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement