Convering a string having multiple numbers to array of numbers

It was done in the data science course using :
numbers=[int(no) for no in input().split()]

However I don’t understand why it works. Can someone explain me more about for in loops? AN explanation or a relevant link explaining about it will be appreciated.

Hi Aaket;
Explanation of for loop
For loops are used for sequential traversal. For example: traversing a list or string or array etc. In Python, there is no C style for loop, i.e., for (i=0; i<n; i++). There is “for in” loop which is similar to for each loop(enhanced loop) in other languages.
->here first we take input() a string and using split() we generate a list of attributes entered.
we are creating a list of strings using input().split()
->after that we are iterating over that list using for in loop using “no” as iterator.
->using no we are getting strings and using type casting converting string into integer