how I can make function in program like IDLE or linux terminal? and how I can use loop? when I am trying to use it that happen:
>>>for i in numbers: # when i am push enter its make ...
... print packet[i] # when i am pushing on the enter its create new line
for i in range(10): print ito give you a flavour.