Skip to content

Commit 653fcd9

Browse files
committed
test: Expose double return bug
1 parent 41d26bd commit 653fcd9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
326 Bytes
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
def main():
2+
if input() == 0:
3+
print("0")
4+
return
5+
if input() == 1:
6+
print("1")
7+
else:
8+
printf("other")

0 commit comments

Comments
 (0)