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
~107 People Reached
Favorite Forums
Favorite Tags
Member Avatar for ericoscarj

Write a function count_digits (s) that counts the number of digits in the string s and returns answer (an integer). The function must internally use a for-loop. Example ; [CODE]>>> count_digits("1q2w3e4r5t") 5 >>> count_digits("42") 2 >>> count_digits("tea")[/CODE] , Id appreciate any help:)

Member Avatar for Enalicho
0
107