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

[CODE]s = raw_input("Enter a string: ") a = 0 i = 0 for i in range(len(s)): if s[i] == ' ': a = a + 1 print str(a) + '. ' + 'There was a space in position ' + str(i) + '.' [/CODE] i keep on trying to sub …

Member Avatar for ScottieF
0
110
Member Avatar for d3fined

Hi, I have just recently started using python and I couldn't figure out two problems regarding finding the first three occurrences of spaces using while loops. I have trouble understanding the concept of while loops. How would i write a program that reports the first three occurrences of a space, …

Member Avatar for TrustyTony
0
177