the-honk/school/gcse/year 9/python challenges/6 - Comparing names.py
2021-12-21 19:46:28 +00:00

6 lines
132 B
Python

name = input('What is your name?')
if (str.lower(name) == 'newt'):
print('You\'re cool!')
else:
print('Nice to meet you!')