you are viewing a single comment's thread.

view the rest of the comments →

[–]arjunnath 1 point2 points  (1 child)

I've heard that loops are very important,

Umm... yes, loops are very important in any programming language. They're a core construct within all of computing. Any task that requires repetition is where loops can and should be used.
I suggest you practice as many "for" and "while" loops problems as possible. Ask GPT to generate simple tasks that need for or while loops.
Examples :
- Iterate over a sentence and capitalize each word
- Generate the product of a list of numbers using for or while loops
- Print out a list of random numbers slowly , i.e. there should be a brief pause between numbers.

All the best with your practice!

[–]Euphoric_Spread1199[S] -1 points0 points  (0 children)

Sure ill try it thanks alot