Python raw input with loop of counting -
i'd output raw_input looping including numbers have been given.
amount = int(raw_input("enter number? ")) item in range(amount): input = raw_input("#"), amount actual output:
enter number? 2 # # goal:
enter number? 2 #1 #2 is possible?
edit: wauw, i'm getting lot of responses quickly. thank effort.
this should produce result show goal...
amount = int(raw_input('enter number? ')) item in range(1, amount + 1): print('#' + str(item))
Comments
Post a Comment