print, Print output to screen, else, Executes if the conditional expression in the if statement resolves to false, def, Block of code which runs only when called (function), IF statement, Tests a condition and executes code based on the result, while loop, Repeats code until a condition is met, variable, A box that stores data until it is needed, import random, Include this code to be able to generate random numbers, #, This symbol is used to comment on code. , input(), This gets user input, count = 0, An example of a named variable.

Papan Peringkat

Gaya visual

Pilihan

Berganti templat

)
Pulihkan simpan otomatis: ?