![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 11.06.2021 22:00 mmelody5
In this unit, you used this code to ensure that the user would enter a number and not letters:
while True:
try:
num = int(input("Enter your age: "))
break
except ValueError:
print("That's not a number!")
How could you modify this code to be sure that the user enters a positive number?
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 09:00
Technician a says that a new replacement part is always good. technician b says that sometimes recent repair work will be the cause of a complaint. who is correct? a. both technicians a and b b. technician a c. technician b d. neither technician a nor b
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 11:30
Convert 11001110(acdd notation) into decimal
Answers: 2
You know the right answer?
In this unit, you used this code to ensure that the user would enter a number and not letters:
whil...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 04.07.2019 04:00
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 04.07.2019 04:00
![question](/tpl/images/cats/mat.png)
Mathematics, 04.07.2019 04:00
![question](/tpl/images/cats/himiya.png)
Chemistry, 04.07.2019 04:00
![question](/tpl/images/cats/mat.png)
Mathematics, 04.07.2019 04:00
![question](/tpl/images/cats/istoriya.png)
History, 04.07.2019 04:00
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 04.07.2019 04:00
![question](/tpl/images/cats/biologiya.png)
Biology, 04.07.2019 04:00
![question](/tpl/images/cats/istoriya.png)
History, 04.07.2019 04:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)