Skip to content

Commit b46aa73

Browse files
author
pavel.vyukov
committed
L1_HW; corrected 1 mistake
1 parent c8bf2f9 commit b46aa73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

L1_intro/less_1_task_5.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
a1 = ord(a1)-96
88
a2 = ord(a2)-96
9-
cnt = abs(a1-a2)
9+
cnt = abs(a1-a2)-1
1010

1111
print(f"{a1}, {a2}, {cnt}")

0 commit comments

Comments
 (0)