the-honk/coursework/gcse computer science/year 9/python/python challenges/6 - Comparing names.py
2021-07-16 17:25:04 +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!')