Computer Science, asked by vaishnavinale880, 2 days ago

Create a Python script that finds out your age in a maximum of 10 tries. The script can ask you only one type of question: guessing your age! (e.g. “Are you 67 years old?") And you can answer only one of these three options: (a)Less (b) More (c)Correct​

Answers

Answered by dilip40mahato
0

Answer:

Last time I wrote about Python For Loops and If Statements. Today we will talk about how to combine them. In this article, I’ll show you – through a few practical examples – how to combine a for loop with another for loop and/or with an if statement!

Note: This is a hands-on tutorial. I highly recommend doing the coding part with me – and if you have time, solving the exercises at the end of the article! If you haven’t done so yet, please work through these articles first

Similar questions