the-honk/gcse computer science/year 9/python challenges/6 - Comparing names.py
2021-09-14 21:57:23 +01: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!')