I wanted to ask if we can add if statements inside a variable in python
I was building a program in python this was it's code-
a2 = 2
a3 = 3
def myfunc(a):
a = 0
b = int(input("your number?"))
c = if a2 % b == 0 or a3 % b == 0
return a
print(a)
myfunc()
for some reason it was declaring syntax error in 6th line of my code. So what should I do to make my code work fine and whether there are some more errors in it.