python Flashcards
1
Q
give an example of how to use python
A
name= “Alice”
age = 14
INPname = input (“whats your name”)
INPage= int (input (“whats your age”)
IF name== INPname:
print (“welcome”)
ELSE :
print (“incorrect”)
ELIF name = “Catarina”
print (“second user”)
ELSE :
print (“access denied”)