the-honk/gcse computer science/year 9/python challenges/6 - Comparing names.py
2024-10-09 18:02:34 +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!')