A function prints its argument and then answers a question about it. def check(n): print(n, end=" ") return n > 1 if check(1) and check(2) or check(3): print("yes") What does the program print?
1 3 yes
1 2 3 yes
3 yes
1 yes
Log in to join the discussion.
Loading…