blob: 93e1e2dee8078426c815db2d287f363e449c045b (
plain)
1
2
3
4
5
6
|
def myfunc(shall_continue: bool, shall_exit: bool):
if shall_continue:
if input("Are you sure?") == "y":
print("Moving on.")
elif shall_exit: # [confusing-consecutive-elif]
print("Exiting.")
|