filmov
tv
Python Tutorial v3.2.5 Lesson 16.2 - Time Conversion Arithmetic

Показать описание
1:50 Skip the Introduction to Lesson 16.2.
9:46 See the application of the round() function in conversions.
Lesson 16.2 reviews arithmetic concepts and nested functions while converting different denominations of time. Functions are written to convert hours to minutes and seconds, then back from seconds to hours using multiplication, division, and integer division. In addition, the round function is called to make the program more accurate and user friendly.
This is an introductory series of Python tutorials. This course, from start to finish, is designed to help someone who has never programmed before learn the basics of coding in Python. As this series continues, we examine more advanced Python techniques, functions, and methods.
Keep in mind this tutorial is using an older version of Python, v3.2.5. You will need to click on the "View Older Releases" button to use this specific version. Using the newer versions will not be an issue at this point, but when the lesson proceeds to basic graphics, the Pygame Module we'll use does not support v3.3+ at this time.
9:46 See the application of the round() function in conversions.
Lesson 16.2 reviews arithmetic concepts and nested functions while converting different denominations of time. Functions are written to convert hours to minutes and seconds, then back from seconds to hours using multiplication, division, and integer division. In addition, the round function is called to make the program more accurate and user friendly.
This is an introductory series of Python tutorials. This course, from start to finish, is designed to help someone who has never programmed before learn the basics of coding in Python. As this series continues, we examine more advanced Python techniques, functions, and methods.
Keep in mind this tutorial is using an older version of Python, v3.2.5. You will need to click on the "View Older Releases" button to use this specific version. Using the newer versions will not be an issue at this point, but when the lesson proceeds to basic graphics, the Pygame Module we'll use does not support v3.3+ at this time.