I want to make a python script that finds the maximum possible output using 2 operations. The problem it says that there is a syntax error at the 2nd to the last line, in the b
in there. How can I fix it?
x = 0
a = int(input("1st number:"))
c = int(input("2nd number:" ))
e = int(input("3rd number:" ))
for i in range(4):
if i == 0:
b = "+"
elif i == 1:
b = "-"
elif i == 2:
b = "/"
else:
b = "*"
for j in range(4):
if j == 0:
d = "+"
elif j == 1:
d = "-"
elif j == 2:
d = "/"
else:
d = "*"
k = a b c d e
print(k)