Learn how to create while and for i in and also see somes examples 😀
For i, are very use for things like fill things, create list, something that follows a pattern, also create loops
While are for things that change over the time like a user input, also it helps to validate things and create loops
If you have still doutbs please look this:
If and For in Reference in Python3 Official Source