Python

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

24 Terms

1
New cards

command to have Python state text

Print (“text”)

2
New cards

Variables can hold ____ or ____

words or numbers

3
New cards

Pikachu =

4
New cards

def function () - is doing what?

Defining the function

5
New cards

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

6
New cards

Define Function

An action you instruct python on what it is and then can direct to execute

7
New cards

Symbol that Python is ready for a new statement

> > >

8
New cards

The following is an example of a _________ .

> > >if wild_pokemon == "Charmander":

. . . print("Go! Pikachu! Use Thunderbolt!")

Conditional

9
New cards

A ______ directs a specific output based on the contents of the code’s input.

Conditional

10
New cards

a proper indent is reached with the tab key or _ spaces

4

11
New cards

A ____ is part of the command that allows it to repeat an action a defined number of times within a range.

Loop

12
New cards

Python begins counting from _

0

13
New cards

what is this formatting for: [“Option A”, “Option B”, “Option C”]

Lists

14
New cards

____ store information in your code

variables

15
New cards

_____ create actions

Functions

16
New cards

______ help to choose the next action

Conditionals

17
New cards
18
New cards
19
New cards
20
New cards
21
New cards
22
New cards
23
New cards
24
New cards