This Python programming playlist is designed to take beginners with zero programming experience to an expert level. The course covers installation, basic syntax, practical scenarios, and efficient logic building. The course material includes PDF handouts, review questions, and covers a wide range of topics, from data types to advanced functions like Lambda and Recursive functions, Generators, and JSON data parsing.
In this lesson we will study about the limitations of floating point arithmetic. We observed previously that sometime the answer of calculations in floating point is not accurate. For example cosine of 90 degrees is not exactly zero.
We will explore the reason and will also discus how to handle such cases.
Python Documentation on these limitations:
https://docs.python.org/3/tutorial/fl...
Complete Playlist:
• Python Programming Basics to Advanced
If you have the basic programming knowledge and interested to learn Object-Oriented Programming in Python, check out this playlist:
• Object-Oriented Programming in Python
Review Questions:
1- Use the isclose function of math module to check the closeness of 1e-15 (which is 10^-15) and 0.
Hint: Explore the optional parameter abs_tol
#PythonProgramming #python #pythontutorial