the-honk/gcse computer science/year 9/python/python challenges/6 - Comparing names.py

6 lines
132 B
Python
Raw Normal View History

2024-10-09 17:02:27 +00:00
name = input('What is your name?')
if (str.lower(name) == 'jacob'):
print('You\'re cool!')
else:
print('Nice to meet you!')