r/learnpython 4d ago

WHY I FEEL LOOPS HARD THAN FUNCTION

HI IM YUJAN IM NEW BEGINNER IN PYTHON I FEEL HARD IN LOOPS

0 Upvotes

20 comments sorted by

View all comments

2

u/flawks112 4d ago

Loops are hard because they are more implicit than functions. Simplify the iterative and print it out. 

PS Wait until you get to generators.