Data Types

studied byStudied by 2 people
0.0(0)
Get a hint
Hint

Integer

1 / 5

flashcard set

Earn XP

6 Terms

1

Integer

Whole numbers, e.g., 30.

New cards
2

Real/Float

A number with a fractional part (decimal place), e.g., 25.5.

New cards
3

Boolean

One of two possible values, true or false, e.g., false.

New cards
4

String

A set of characters that can include spaces and numbers, treated as text, e.g., 'the computer'.

New cards
5

Character

A single letter, symbol, number, or space (not in Python), e.g., 'm'.

New cards
6

Casting

Changing the data type of a variable, such as using str(), int(), float(), or bool() functions.

New cards

Explore top notes

note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 21 people
... ago
4.0(1)
note Note
studied byStudied by 32 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 31 people
... ago
5.0(1)
note Note
studied byStudied by 357 people
... ago
5.0(5)

Explore top flashcards

flashcards Flashcard (24)
studied byStudied by 21 people
... ago
5.0(1)
flashcards Flashcard (51)
studied byStudied by 28 people
... ago
4.0(1)
flashcards Flashcard (198)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (34)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (39)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (61)
studied byStudied by 379 people
... ago
4.6(28)
flashcards Flashcard (116)
studied byStudied by 13 people
... ago
5.0(1)
flashcards Flashcard (65)
studied byStudied by 2352 people
... ago
4.6(14)
robot