Python Integer Trick?? #python #coding #programming #short

preview_player
Показать описание
Did you know you could add underscores in integers in Python to improve readability?
Рекомендации по теме
Комментарии
Автор

This feature is particularly useful for separating thousands, millions, etc., or for aligning decimal points in a column of numbers.

debabrataacharjee
Автор

In Python, using underscores in between digits in numeric literals is called "numeric literal separators."

debabrataacharjee
Автор

Your videos are a constant source of inspiration for me. Please keep them coming!

MyCodingDiary
Автор

we can indeed make long integer values readable this way!

KaveriCodeBangla