Coding Task: 06.03 Favourite Food

Tell the computer about your favourite food, and it will try to identify the cuisine!

Your Task

Use the following table to determine which food belongs to which cuisine (or feel free to add your own ideas!)

Python Reference Sheet

Remember to use the Python reference sheet to help you with your code! Click on one of the buttons below:

Requirements

  • The program should run without any errors.
  • The program should ask the user to enter a message. If they include one of the key words in the table above, the program should recognise it by responding and mentioning the cuisine that dish belongs to. If the user doesn’t mention any of the dishes our program recognises, it should just say I love that food too!

Example

Below is an example of how the program should run:

What's your favourite food? I love meat pies!
So you like Aussie food!

What's your favourite food? I love spaghetti?
So you like Italian food!

What's your favourite food? I love sashimi!
So you like Japanese food!

What's your favourite food? I love caviar!
I like that food too!
Scroll to Top