Quick actions

cmd+k|ctrl+k

Navigation

Languages

ex34_pyfml.py

Snippet info

Language

Python

Visibility

public

Author

cuongquach.learning

Created

2016-09-19T18:09:05Z

Updated

2016-09-19T18:09:11Z

# Exercise 3.4
# Pyfml course
# Name : Quach Chi Cuong
# Glot.io : https://glot.io/snippets/eiljzue1zs
# Requirement :
# - input = range(5, 16)
# - output: in ra thanh cap
# Vi du : 
# 1 5 
# 2 6 
# 3 7 
# ... cho đen het

# Tao 1 input list tu 5 den 15
input = list(range(5,16))

# Su dung function enumerate de danh index tuong ung index list input
for i,j in list(enumerate(input, start=1)):
	print(i,j)
INFO