Python Program to Get First Digit of a Number||#first_digit_in_python||#100PythonPracticeCode

preview_player
Показать описание
Take a number while declaring the variable. Then, we will run the while loop to find the first digit of a number we divide the given number by 10 until the number is greater than 10. In the end, we are left with the first digit. Finally, the first digit of the number will be displayed on the screen.
#100pythonPracticeCode
#FirstDigitInpython
#pythonbeginner
Рекомендации по теме
welcome to shbcf.ru