Bài 3. Câu lệnh, khối lệnh và chú thích
Last updated
colors = ['red',
'blue', 'green'
]for i in range(1,11):
print(i)
if i == 5:
break
input()for i in range(1,11):
print(i);
if i == 5:
break
input()#This is a comment
#print out Hello
print('Hello')
input() """This is also a perfect example of
multi-line comments"""
print('Hello')
input()def nhandoi(num):
"""Hàm nhân đôi giá trị nhập vào"""
return 2*numprint(nhandoi.__doc__)