Skip to content
#

unit3

Here are 17 public repositories matching this topic...

We had to modify the starter code. I had to add a line of code asking the user to enter a third number. I also had to edit the IF/ELIF/ELSE statements to confirm whether the third number is bigger/smaller/the same as the first number and whether it is bigger/smaller/the same as the second number. Also if all three numbers are the same.

  • Updated Mar 17, 2024
  • Python

The user is asked at the end if they guessed correctly. Then if they did, display a “Well done” message. If they didn’t, display a “Never mind” message. As well as checking whether the answer is too high or too low, add a line that checks whether the guess is equal to the answer and if it isn’t, displays a “Bad luck” message.

  • Updated Mar 17, 2024
  • Python

Add this topic to your repo

To associate your repository with the unit3 topic, visit your repo's landing page and select "manage topics."

Learn more