Question: Write code which asks an user to enter their favourite sport and save their input into a variable called user_sport. The code should check the

 Write code which asks an user to enter their favourite sport

Write code which asks an user to enter their favourite sport and save their input into a variable called user_sport. The code should check the inputted sport against "soccer" (case insensitive, i.e. test for soccer and Soccer) and if there is a match, print "Excellent, I also like soccer!", otherwise "I do not like 10,20,% )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!