29 Jun PMCA Saturday 17:00 Python Homework 21.06.26.
Question 1:
Use float() to create a number from a string like ‘12.34’. Make sure the result is really a number!
Question 2:
Try using int() to create an integer from a decimal number like 56.78. Did the answer get rounded up or down?
Question 3:
Try using int() to create an integer from a string. Make sure the result is really an integer!
Sorry, the comment form is closed at this time.