0
what would is_even(4) be?
what would is_even(4) be? def is_even(x): if x % 2 == 0: print('even') print('odd') return x-1
2 Respostas
+ 7
It would print 'even'.
+ 2
it would print even but it would also print odd since odd is outside the if condition so whenever they function is called it will print odd no matter what