I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Menu
What is in a name?

Enter the code below into python. Change the code so it –
– If the user enters your name, then it will display “I know XXXXXX”

Where xxxxx will be your name.

name = input("Enter a name - ")
if name == "bob":
    print("I know bob")
else:
    print("I do not know " , name)



Comments are closed.

Information