Skip to content

Commit e6d4aee

Browse files
committed
TR updates
1 parent 9940d4c commit e6d4aee

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1+
# Tab
12
print("a\tb")
3+
4+
# Linefeed
25
print("a\nb")
3-
print("a\141\x61")
4-
print("\N{rightwards arrow}")
6+
7+
# Octal
8+
print("\141")
9+
10+
# Hex
11+
print(\x61")
12+
13+
# Unicode by name
14+
print("\N{rightwards arrow}")

python-basic-data-types/point.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ def __bool__(self):
1010

1111

1212
origin = Point(0, 0)
13-
bool(origin)
13+
print(bool(origin))
1414
point = Point(2, 4)
15-
bool(point)
15+
print(bool(point))

0 commit comments

Comments
 (0)