+ 3
U have to specify the input as int,like this:
number = int(input())
if number % 2 == 0:
print(number * 2)
elif number % 3 == 0:
print(number * 3)
elif number == 0:
print(0)
oh and i changed the line number 4
+ 2
https://code.sololearn.com/cHoWIV3L15Y9/?ref=app
This may help you!
0
n = int(input())
if n%2 == 0:
print(2*n)
elif n%2 != 0:
print(3*n)
elif n == 0:
print(0)



