My Python course with practice - https://stepik.org/a/103831
Python from Scratch is a course designed for beginner programmers with no programming experience. This course is perfect for students preparing for the Unified State Exam in Computer Science or the Basic State Exam in Computer Science.
In this lesson, you'll learn how to process digits of a number using a while loop. We'll analyze the digits of a number using a specific algorithm. -----------------------------------------------------------------------------------------------------------
00:00 Theory
06:20 Problem A
09:43 Problem B
12:33 Problem C
14:45 Problem D
--------------------------------------------------------------------------------------------
Problem A
Enter a natural number and determine how many times the digit 1 appears in its entry.
---------------------------------------------------------------------------------------------
Problem B
Enter a natural number and find the sum of its digits.
--------------------------------------------------------------------------------------------------------------------------
Problem C
Enter a natural number and find the sum of its even digits.
--------------------------------------------------------------------------------------------------------------------------
Problem D
Enter a natural number and determine whether it contains two identical digits next to each other.
-----------------------------------------------------------------------------------------------------------
On this page of the site you can watch the video online Processing Digits | Python from Scratch | Lesson 12 with a duration of hours minute second in good quality, which was uploaded by the user Простые решения 11 December 2022, share the link with friends and acquaintances, this video has already been watched 3,497 times on youtube and it was liked by 99 viewers. Enjoy your viewing!