จะให้ฉันใช้สำหรับเรื่องภาษาไพธอน

รหัสตัวอย่าง

2
0

ปลั๊กอินสำหรับไพธอนวิธี

for _ in range(1,10,2): #(initial,final but not included, gap) (the "_" underscore symbol mean there are no variables initialize in this loop)
	print("hi");
0
0

ปลั๊กอินสำหรับไพธอนว

for i in range(amount of times in intager form):
	#do stuff
    print(i)# you could use i as a variable. You could set it as u, ool, or anything you want. No blancs tho.
    # i will be the amount of times the loop has been ran. You the first lap it will be 0, the second lap it will be 1. You get it.

ในภาษาอื่นๆ

หน้านี้อยู่ในภาษาอื่นๆ

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................

ดังอยู่ในนี้หมวดหมู่

ดังหน้ากับตัวอย่างอยู่ในหมวดหมู่