①I don’t understand how iter works.I noticed that only in the las part in the "for "loop part the iter is necessary.
②for value in MyRange(1, 4):
-
print(value)*
in this part of codes I do not understand how is the codes work. Why it output is 1 2 3?Is in MyRange(1,4) the MyRange is not just a name of a class? is myrange a spercific item belongs to myrange class? and how “value” get the num of 1 to 3?