TORONTO KIDS COMPUTER CLUB | PMCA Saturday 17:00 Python Homework 21.06.26.
19672
post-template-default,single,single-post,postid-19672,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

PMCA Saturday 17:00 Python Homework 21.06.26.

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!

No Comments

Sorry, the comment form is closed at this time.