1/23
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
command to have Python state text
Print (“text”)
Variables can hold ____ or ____
words or numbers
Pikachu =
def function () - is doing what?
Defining the function
A ______ is when you direct python for what “moves” you want it to be able to do. (e.g. think Pokemon learning a new attack)
function
Define Function
An action you instruct python on what it is and then can direct to execute
Symbol that Python is ready for a new statement
> > >
The following is an example of a _________ .
> > >if wild_pokemon == "Charmander":
. . . print("Go! Pikachu! Use Thunderbolt!")
Conditional
A ______ directs a specific output based on the contents of the code’s input.
Conditional
a proper indent is reached with the tab key or _ spaces
4
A ____ is part of the command that allows it to repeat an action a defined number of times within a range.
Loop
Python begins counting from _
0
what is this formatting for: [“Option A”, “Option B”, “Option C”]
Lists
____ store information in your code
variables
_____ create actions
Functions
______ help to choose the next action
Conditionals