Basic types
The kinds of values a language has built in - integers, floating-point numbers, booleans, strings - and what you can do with each.
Depth 1 · Foundation
You can tell an int, a float and a bool apart, ask type() which one a value is, predict what mixing them gives (an int and a float make a float), and know that Python's ints never overflow while fixed-size ints in other languages do.
Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.
Sign in with GoogleDepths of understanding
- 1
Foundation
You can tell an int, a float and a bool apart, ask type() which one a value is, predict what mixing them gives (an int and a float make a float), and know that Python's ints never overflow while fixed-size ints in other languages do.
Your path here
What's still between you and Basic types, depth 1, in the order you can learn it.
- 1ProgramDepth 1 · Foundation · Program Basics
- 2ExpressionDepth 1 · Foundation · Program Basics
- 3Variables in codeDepth 1 · Foundation · Program Basics
- 4Program stateDepth 1 · Foundation · Program Basics
- 5Input and outputDepth 1 · Foundation · Program Basics
- 6Functions in codeDepth 1 · Foundation · Functions
- 7Return valuesDepth 1 · Foundation · Functions
- 8BooleansDepth 1 · Foundation · Control Flow
- 9ConditionalsDepth 1 · Foundation · Control Flow
- 10LoopsDepth 1 · Foundation · Control Flow
- 11Accumulator patternDepth 1 · Foundation · Control Flow
- 12Floating-point numbersDepth 1 · Foundation · Data Types
- 13Basic typesDepth 1 · Foundation · Data Types