HOME/Articles/

simple python-example-72 (snippet)

Article Outline

Python example 'python-example-72'

python-example-72

Python example: python-example-72

#!/usr/bin/python
# -*- coding: UTF-8 -*-

if __name__ == '__main__':
    ptr = []
    for i in range(5):
        num = int(raw_input('please input a number:\n'))
        ptr.append(num)
    print(ptr)