repl.it
@MaximTarna/

I am confused! ! ! !

Python

I am the best!?

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
print("I am ... nobody")
asd=input("Hi,what is your name?")

asdf=input("How old are you ?")
print("Hello "+asd+",you are "+asdf+" years old!") 

num1= int(input("Enter a number plzzzz!To add 2 numbers "))
num2= int(input ("Another number! "))

answer= num1 + num2

print(" ok this is the answer", answer ,)

from random randint
number = randint(0,1)
guess = -1
while guess != number:
 guess=int(input("Guess a number between 0 and 1 - "))
 if guess < number:
   print("Too low , try again")
 elif guess > number:
   print("Too high try again")
 else:
   print("Correct,")