the-honk/school/gcse/year 9/python challenges/5 - Name and Subject.py
2024-10-09 18:02:36 +01:00

3 lines
No EOL
136 B
Python

name = input('What is your name?')
subject = input('What is your favourite subject?')
print('I like ' + subject + ' too, ' + name + '!')