Please watch the Python programㅜㅜ

Asked 2 years ago, Updated 2 years ago, 16 views

If the sum of the two integers is zero, even side Even, odd side Odd should be printed.

a=int(input()) b=int(input())

print(a,'+',b,'=') c=input()

if c ==0: print ('Zero') elif c%2 ==0: print ('Even') else: print ('Odd')

I wrote it like this, but there's an errorHow do I fill it out?ㅜ<

python

2022-09-22 18:33

1 Answers

print(a',+',b',=') c=input()

This part

c = a + b

Change it to~


2022-09-22 18:33

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.