Until they type stop · จนกว่าพวกเขาจะพิมพ์ stop
Until they type stop
Keep reading words with input() and printing each one back, until the word is stop. Do not print stop itself.
The value the loop tests has to be read before the loop starts, and read again at the end of every turn — otherwise the same word is tested for ever. != means is not equal to.
จนกว่าพวกเขาจะพิมพ์ stop
ค้างอ่านคำด้วย input() และพิมพ์แต่ละคำกลับมา, จนกว่าคำจะเป็น stop. อย่าพิมพ์ stop เอง
ค่าที่ลูปทดสอบต้องถูกอ่าน ก่อน ลูปเริ่ม และอ่าน อีกครั้ง ที่ท้ายทุกรอบ — มิฉะนั้นคำเดียวกันจะถูกทดสอบตลอด != หมายความว่า ไม่เท่ากับ
Keep reading words with input() and printing each one back, until the word is stop. Do not print stop itself. · ค้างอ่านคำด้วย input() และพิมพ์แต่ละคำกลับมา, จนกว่าคำจะเป็น stop. อย่าพิมพ์ stop เอง
Click Run to see the output here. · คลิก Run เพื่อดูผลลัพธ์ที่นี่