I'm trying to loop through list of arguments passed by the prompt in calling the function in python I want to get the sys.argv[1] as integer not string
this is the code i wrote in the function
x=[1,2,3,4,5]
for n in x:
print sys.argv[1] * n
if i called the previous function with 5 i receive
5
55
555
5555
55555
how can i receive
5
25
125
625
any ideas what can be the solution