Data Types

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

1/5

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

6 Terms

1
New cards

Integer

Whole numbers, e.g., 30.

2
New cards

Real/Float

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

3
New cards

Boolean

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

4
New cards

String

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

5
New cards

Character

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

6
New cards

Casting

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