Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~399 People Reached
Favorite Forums
Favorite Tags
Member Avatar for philipshoe

My code is suppose to take the digits i type in my raw_input and sum up the number example: if i type 123456789 then i will get 1+2+3+4+5+6+7+8+9 = 45 as an answer but it will not stop there it will continue adding until the sum reaches a single digit …

Member Avatar for TrustyTony
0
225
Member Avatar for philipshoe

I got my code to check for how many digits that i type in my raw input [CODE]num = int(raw_input("Enter, ")) import math digits = int(math.log10(num))+1 print digits [/CODE] example 1587898 then it prints 7 digits I need my code to calculate the digits i type in my raw input …

Member Avatar for TrustyTony
0
174