Skip to content

Commit 9540de7

Browse files
Update caught_speeding.py
Fixed an error
1 parent 2977f43 commit 9540de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logic-1/caught_speeding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ def caught_speeding(speed, is_birthday):
22
speed0 = 60
33
speed1 = 80
44

5-
if (is_birthday == True):
5+
if (is_birthday == "yes"):
66
speed0 = speed0 + 5
77
speed1 = speed1 + 5
88

0 commit comments

Comments
 (0)