str1 = 'handsome'
Print ( '% S Tank'% (str1,))
str2 = 'crash Chen Xu'
Print ( 'X is Asahi; S%'% (str2,))
Str3 = 'X Asahi'
Print ( 'guy is S%'% (str1))
Print (== 2. 1)
Print (. 1> 2)
Print (. 1 <2)
Print (==. 1. 1)
Print (2 == 2)
username = INPUT ( ' Please enter your user name ')
Print (username)
password = the iNPUT (' Please enter your password ')
Print (password)
IF username ==' the X-wook guy 'and password == "123456789":
Print ( "successful landing")
the else:
print ( "Login failed")
Print (2 +. 3)
Print (. 8 + 2)
X = 10
Print (X == 2)
Print (== 20 is X + 30)
number = 2000
GUESS = iNPUT ( "enter a number")
The INPUT (of the type (GUESS))
IF GUESS == ( '2000'):
Print ( 'guessed')
elif GUESS <( '2000'):
print ( 'You stupid the X-')
the else:
Print ( "you stupid the X-")
the while True:
the ok = the INPUT ( 'Cao Cao which is famous in the')
IF the ok == ( 'Three Kingdoms'):
print (' guess a ')
BREAK
the else:
Print (' the wrong ')
number = 2000
the init. 1 =
the while True:
IF the init>. 3:
Print (' three times the wrong ')
BREAK
GUESS = iNPUT (' enter number ')
iNPUT ( of the type (gUESS))
IF gUESS == ( '2000'):
Print ( 'guessed')
BREAK
elif gUESS <( '2000'):
Print ( 'you silly the X-')
the else:
Print ( "you stupid x" )
the init + =. 1
Primary Code
Guess you like
Origin www.cnblogs.com/llx1/p/11579436.html
Recommended
Ranking