bamboo_count = 0
next_string = input()
while next_string != ‘completed’:
….if next_string == ‘bamboo’:
……..bamboo_count = bamboo_count + 1
….next_string = input()
print(f’Bamboo occurs {bamboo_count} time(s).’)
been looking at this for way to long someone help please? …… are for indent purposes not actual code.
submitted by /u/akkasha11
[link] [comments]
r/learnpython bamboo_count = 0 next_string = input() while next_string != ‘completed’: ….if next_string == ‘bamboo’: ……..bamboo_count = bamboo_count + 1 ….next_string = input() print(f’Bamboo occurs {bamboo_count} time(s).’) been looking at this for way to long someone help please? …… are for indent purposes not actual code. submitted by /u/akkasha11 [link] [comments]
bamboo_count = 0
next_string = input()
while next_string != ‘completed’:
….if next_string == ‘bamboo’:
……..bamboo_count = bamboo_count + 1
….next_string = input()
print(f’Bamboo occurs {bamboo_count} time(s).’)
been looking at this for way to long someone help please? …… are for indent purposes not actual code.
submitted by /u/akkasha11
[link] [comments]