print, Print output to screen, else, Executes when the if statement evaluates to false, def, Short for DEFine. Defines a Procedure or a Function, if statement, Tests a condition and executes code based on the result, while loop, Repeats code as long as the condition is met, variable, A named memory store which stores a value which can be changed., import random, Include this library code to be able to use random numbers, #, This symbol is used to comment on code., input(), This gets user input, count = 0, An example of a named variable

โดย

ลีดเดอร์บอร์ด

สไตล์ภาพ

ตัวเลือก

สลับแม่แบบ

คืนค่าการบันทึกอัตโนมัติ: ใช่ไหม