Introduction to Python Programming

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/31

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:34 AM on 9/18/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

32 Terms

1
New cards

\t

tabs over five spaces

2
New cards

\n

moves to front of next line

3
New cards

\r

moves to front of current line

4
New cards

\\

displays \ when printed

5
New cards

\”

displays “ when printed

6
New cards

\’

displays ‘ when printed

7
New cards

“““ Comment “““

Same as #Comment

8
New cards

boolean

True or false

9
New cards

integer

A whole number

10
New cards

float

a decimal number

11
New cards

string

A series of character - this can be letters, number, or words

12
New cards

list

A series of variables

13
New cards

tuple

An unchangeable list

14
New cards

print(“Hello” * 3)

HelloHelloHello

15
New cards

+

Addition

16
New cards

-

Subtraction

17
New cards

*

Multiplication

18
New cards

/

Division

19
New cards

//

Floor division (returns only integer)

20
New cards

%

Modulus (Returns only remainder)

21
New cards

**

Exponential

22
New cards

def book(title, author)

Placeholder values are used when defining a function for the first time to play with/modify

23
New cards

parameter

A placeholder variable used to help define a function, which can be used like any other variable in the definition. This value must be filled when the function is called.

24
New cards

Argument

The value that fills the function’s parameter when the function is called

25
New cards

Default Value

A predefined value assigned to a function’s parameter, it is used when no argument is provided for that parameter during a function call.

26
New cards

Return

returns a value so that it can be used outside of the function body

27
New cards

return value

The resulting value from a function, useful for using a value outside of that function.

28
New cards

Composable

The ability to combine functions to create more complex operations by using one function’s output or logic as input for another.

29
New cards

Global

A keyword to use in a function to modify a global variable

30
New cards

Global Variable

A variable that can be used everywhere in the program

31
New cards

Local Variable

A variable that only exists within the function/loop it is created in

32
New cards

Scope

Where a variable can exist within a program