Skip to content

Commit a910e09

Browse files
committed
markdown source builds
Auto-generated via `{sandpaper}` Source : 40766e8 Branch : main Author : Ahmed Hasan <ahmedrhasan@gmail.com> Time : 2026-11-03 02:41:11 +0000 Message : Merge pull request #200 from LibraryCarpentry/chennesy-patch-4 Add print statements for type() output
1 parent 438124c commit a910e09

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

‎md5sum.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"config.yaml" "751228ef986d86881e913e9993d4e229" "site/built/config.yaml" "2025-12-18"
55
"index.md" "88046cab9a97937c44a7faed69a42400" "site/built/index.md" "2026-09-29"
66
"episodes/getting-started.md" "4a006967af00db0cf442548e8e9f0d6d" "site/built/getting-started.md" "2026-10-07"
7-
"episodes/variables.md" "967a552f54be4651dc2afce9ae3c03b9" "site/built/variables.md" "2026-10-07"
7+
"episodes/variables.md" "780e2f44b0ddcb16efc75c299b9311ad" "site/built/variables.md" "2026-11-03"
88
"episodes/lists.md" "09a52c36dc3bf21dea1da288a5445873" "site/built/lists.md" "2026-10-07"
99
"episodes/functions.md" "499deb6ac29cdd4a00134176ef890616" "site/built/functions.md" "2025-12-18"
1010
"episodes/libraries.md" "d0eea6c3ae70b9c484fb2b685de77413" "site/built/libraries.md" "2026-10-07"

‎variables.md‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,17 @@ Everything in Python is some type of object and every Python object will be of a
149149
You can use the built-in Python function `type()` to find out an object's type.
150150

151151
```python
152-
print(type(140.2),
153-
type(age),
154-
type(name),
155-
type(print))
152+
print(type(140.2))
153+
print(type(age))
154+
print(type(name))
155+
print(type(print))
156156
```
157157

158158
```output
159-
<class 'float'> <class 'int'> <class 'str'> <class 'builtin_function_or_method'>
159+
<class 'float'>
160+
<class 'int'>
161+
<class 'str'>
162+
<class 'builtin_function_or_method'>
160163
```
161164

162165
1. 140.2 is an example of a floating point number or `float`. These are fractional numbers.

0 commit comments

Comments
 (0)