I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Menu
hello again!

Copy the code into a new file. Save it as “hello.py”.

Make the following changes.

– change the ??????? to be the variable used to store the name.
– run the code and enter the name “bob”.
– run the code and enter the name “fred”

It should display both names without any further change to the code.

nameToShow = input("Enter your name - ")
print("hello" , ????????)



Comments are closed.

Information