the-honk/gcse computer science/year 9/python/python challenges/6 - Comparing names.py
2021-05-28 21:38:55 +01:00

6 lines
No EOL
132 B
Python

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