Objective
Write a Python program that calculates and displays the number of digits in a positive integer. If the user enters a negative number, the program will show a warning and proceed with the absolute value of the number.
-5345
(Warning: negative number)
4 digits
Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.
Start exercise