Posts by punksn0g • 45 points
2 posts
-
2
votes2
answers124
viewsQ: Count letter occurrences in a case insensitive sentence
I wanted to be able to leave the variables of input as lower/upper to count equivalent letters in the sentence. Only the variable is as iterable, and when I add the .lower() she changes to str and…
-
1
votes1
answer112
viewsQ: How to imitate "until... you do" command with python?
How can I make a counter regressing with python? I tried so: count = int(10) while True: print("Eu conto", count) count = int(count -1) if count = 0: break but it seems that it does not accept the…