I have a function dela ( ) and I want to call it by user (c) times, but I get an error.
Traceback (most recent call last):
File "C:/Python25/My programs/extra_b.py", line 21, in <module>
for j in range (c):
TypeError: range() integer end argument expected, got str.
if __name__ == "__main__": c= raw_input (" please enter an integer ") for j in range (1,c): dela (x)
Thanks a lot for help.