I want to code to find the number of digits of the integer when I enter the integer using the repetition sentence.
Let's put an integer in g
I tried to print the (i+1) value by dividing g continuously by 10 and dividing it until the quotient was less than 1, but it didn't work fori in range(0,g//10!=0)
doesn't seem to recognize the g//10!=0 part, so how should I modify it?
Even if it is a repetitive sentence, it is not necessary to write only for
, right? If I were you, I would use while
infinite loop.
Try it!
760 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
554 PHP ssh2_scp_send fails to send files as intended
546 GDB gets version error when attempting to debug with the Presense SDK (IDE)
552 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.