Script:
#!/usr/bin/python
for i in range(5):
value = input ("Enter the value : ")
print value
While string as input:
$ ./fun+for.py
Enter the value : John
Traceback (most recent call last):
File "./fun+for.py", line 13, in <module>
value = input ("Enter the value : ")
File "<string>", line 1, in <module>
NameError: name 'John' is not defined
While integer input:
$ ./fun+for.py
Enter the value : 4
4
Enter the value : 5
5
Enter the value : 6
6
Enter the value : 7
7
Enter the value : 7
7