python-by-example-150-chall.../challenges1-11/challenage-001.py
2025-05-24 08:27:55 +08:00

7 lines
188 B
Python

print('enter your name')
name = input("name : ")
# There are three ways to do this
#print('your name is {0}'.format(name))
#print('your name is %s' % (name))
print(f"your name is {name}")