I Haz Codes

Exact matches only
Search in title
Search in content
Search in posts
Search in pages
Getting to know you

Enter the code into python below and save it as “getting to know you.py”.

Make the following additions.
– Add two more questions finding out more information. E.g. favourite food and film.
– Display all of their answers on the screen. They should be turned into sentences.

e.g “Your favourite hobby is Snooker.”

name = input("Enter your name - ")
hobby = input("Enter your hobby - ")

You need to log in or create an account to submit code!

Comments are closed.