programming and problem solving

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

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:36 AM on 8/13/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards

Str

Used for storing text

2
New cards

Float

Real number with decimal point

3
New cards

Int

Interger value

4
New cards

Bool

Reference a true or false

5
New cards

//

Floor divisor, first integer lower then the divided value

6
New cards

%

Mudulo/ remainder

7
New cards
8
New cards

String

Stored text, held in ‘ ‘

9
New cards

Pow(x , y)

Function that calculates xyx^{y}

10
New cards

Any number of arguments

11
New cards

Abs(x)

Returns the absolute value of x

12
New cards

Float(x)

Converts a string or number to a floating point

13
New cards

Int()

Converts a number or string to an integer

14
New cards

Import math

Imports group package for math

15
New cards

Import random

Imports group package for random variables

16
New cards

Boolean expressions

Return a true or false

17
New cards

Order of precedence

BEDMAS → not → and → or

18
New cards

Order of precedence

BEDMAS → not → and → or

19
New cards

Control structures

Else, elif, if

20
New cards

[ ]

Optional values

21
New cards

|

Or

22
New cards

a -= 1

shorthand for a = a - 1

23
New cards

while

keeps repeating till criteria is met

24
New cards

for

loops a set number of times

25
New cards

!=

is not equal to