filmov
tv
[Python Programming Basics to Advanced]: Number Formatting and Number Systems | Lab 04 P-1

Показать описание
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 formatters we can use with fstrings. These formatters are specially helpful for numbers for example:
1- Thousand Separators for better readability of large numbers.
2- Percentage Formatters.
3- Sign Formatters
4- Rounding-off numbers
5- Left Alignment, Right Alignment and Centre Alignment.
6- Right Padding, Left Padding
Complete Playlist:
If you have the basic programming knowledge and interested to learn Object-Oriented Programming in Python, check out this playlist:
Lab Manual 04 can be downloaded from here:
Review Questions:
1- Take a decimal number from user from 0-255 (Assume that user will enter in this range) and display that number in Decimal, Binary, Octal and Hexadecimal Format on different lines. Additionally, you are allowed to use just one print statement for all display lines.
#PythonProgramming #python #pythontutorial
In this lesson we will study about formatters we can use with fstrings. These formatters are specially helpful for numbers for example:
1- Thousand Separators for better readability of large numbers.
2- Percentage Formatters.
3- Sign Formatters
4- Rounding-off numbers
5- Left Alignment, Right Alignment and Centre Alignment.
6- Right Padding, Left Padding
Complete Playlist:
If you have the basic programming knowledge and interested to learn Object-Oriented Programming in Python, check out this playlist:
Lab Manual 04 can be downloaded from here:
Review Questions:
1- Take a decimal number from user from 0-255 (Assume that user will enter in this range) and display that number in Decimal, Binary, Octal and Hexadecimal Format on different lines. Additionally, you are allowed to use just one print statement for all display lines.
#PythonProgramming #python #pythontutorial
Комментарии