True: int() turns a string into an integer, else executes if a condition is not met, input waits for the user to enter information, print displays information to the user, While loops are an example of conditional iteration, Lists use square brackets, "for num in range (10):" is used to repeat something for set number of times, •An IF statement is a selection statement An IF statement is a selection statement , False: While loops do not require a condition, While loops do not require a colon, if is used in iteration, PRINT needs a capital letter, input displays text and then moves on to the next line of code, Input statements don't need brackets, We don't need a colon at the end of an if statement,

Scorebord

Visuele stijl

Opties

Template wisselen

Automatisch opgeslagen activiteit "" herstellen?