Data Types

studied byStudied by 1 person
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 14 people
... ago
4.0(1)
note Note
studied byStudied by 2 people
... ago
5.0(1)
note Note
studied byStudied by 190 people
... ago
5.0(3)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 35 people
... ago
5.0(1)
note Note
studied byStudied by 311 people
... ago
5.0(1)
note Note
studied byStudied by 24 people
... ago
5.0(1)
note Note
studied byStudied by 91 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (124)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (47)
studied byStudied by 29 people
... ago
4.0(1)
flashcards Flashcard (20)
studied byStudied by 16 people
... ago
5.0(1)
flashcards Flashcard (69)
studied byStudied by 20 people
... ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 8 people
... ago
4.5(2)
flashcards Flashcard (71)
studied byStudied by 64 people
... ago
5.0(1)
flashcards Flashcard (39)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (76)
studied byStudied by 10 people
... ago
5.0(1)
robot