![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 04.12.2020 04:00, carlybeavers50
Why is this python code giving me problems?
This is having the user input a decimal number and the code has to round it up to the 2nd decimal place. This code is giving me problems, please fix it.
num3 = int(input("Please input a decimal number:")
num3 = int(round(num3, 2))
print ("your decimal rounded to the 2nd decimal place is:", x)
![answer](/tpl/images/cats/otvet.png)
Answers: 2
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 18:50, annieleblanc2004
Ais a picture icon that is a direct link to a file or folder
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 00:50, anthonycraig0205
3. what is the output of the following statements? temporary object1; temporary object2("rectangle", 8.5, 5); temporary object3("circle", 6, 0); temporary object4("cylinder", 6, 3.5); cout < < fixed < < showpoint < < setprecision(2); object1.print(); object2.print(); object3.print(); object4.print(); object1.set("sphere", 4.5, 0); object1.print();
Answers: 1
Do you know the correct answer?
Why is this python code giving me problems?
This is having the user input a decimal number and the...
Questions in other subjects:
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 09.02.2020 22:31
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/en.png)
English, 09.02.2020 22:31
![Konu](/tpl/images/cats/User.png)
Engineering, 09.02.2020 22:31
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 09.02.2020 22:31
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/istoriya.png)
History, 09.02.2020 22:31