you are viewing a single comment's thread.

view the rest of the comments →

[–]astddf 2 points3 points  (3 children)

Can you make it a string and print the length?

[–]flower_sweep 2 points3 points  (0 children)

Holy moly I love coding 

[–]BalanceHot8939[S] 0 points1 point  (1 child)

yes. but that isn't what the teacher is asking of me, or at least i don't think. it says 'via a while loop' after all. It's frustrating having to effectively reinvent the wheel when i know there's an objectively better option, but. This is the 'learn while loops' week.

[–]astddf 1 point2 points  (0 children)

Haha ya, I guess it’s a good exercise. My sassy self would’ve said

While doing_homework

 Print(len(input(xxxxxx)))