Skip to content

Commit 905d837

Browse files
authored
TYPO: fix typo in a pyfun1 example
1 parent 98f81c9 commit 905d837

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py-fun1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ The result `i` is the integer 12.
561561
s = str(12)
562562
print('s has type', type(s))
563563
t = str(12.34)
564-
print('t has type', type(f))
564+
print('t has type', type(t))
565565
```
566566

567567
**Converting strings to lists.** One more type conversion: We can convert a string to a list of its characters. For example, we convert the string `x = abc'` to the list `['a', 'b', 'c']` with `list(x)`. Run this code to see how it works:

0 commit comments

Comments
 (0)