I'm trying print an elif
inline of print()
.
I've seen some examples like this.
print (True if a else False)
but I really need this
for i in range (0,3):
for j in range(0,4):
print(f'Ecuation{i}')
print(f'X if j==1 Y elif j==2 Z elif j==3' else RESULT)
I'm not sure if it's right or possible.