File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 78
78
Python is what's called a "typed language". This is to say that there are
79
79
multiple * types* of objects that you work with in Python, and they don't all
80
80
act the same way. The three types you've learnt so far are * integers* (` int ` ),
81
- * floats* (` float ` ), and * strings* (` str ` ). This is important to know because
82
- every Python programmer has tried to do this at least once in their career:
81
+ * floats* (` float ` ), and * strings* (` str ` ). Integers are whole numbers, floats
82
+ are numbers with a decimal point, and strings are any number of characters
83
+ surrounded be either "" or ''. This is important to know because every Python
84
+ programmer has tried to do this at least once in their career:
83
85
84
86
"7" + 8
85
87
You can’t perform that action at this time.
0 commit comments