subject

(PYTHON) Ask what kind of pet the user has. If they enter cat, print "Too bad...", if they enter dog, print "Lucky you!"
(You can change the messages if you like). Once this works, add other pets. (Iguana, Pig, Rabbit...)

edhesive 3.1-3.4 can help
key concepts:
-simple ifs
-booleans
-if else
-max and min

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 2
question
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
question
Computers and Technology, 23.06.2019 20:00
What software programs are used to to create professional publication? a.) graphics programs b.) word processors c.) page layout programs d.) spreadsheet programs
Answers: 2
You know the right answer?
(PYTHON) Ask what kind of pet the user has. If they enter cat, print "Too bad...", if they enter...
Questions
question
Health, 18.11.2020 23:00
question
Spanish, 18.11.2020 23:00
question
Mathematics, 18.11.2020 23:00