Sorry
FARHEENPALAGIRI (11)

Hi. I'm sorry, I ran into a problem. Just one quick question: I want the answer of two different equations in one sentence(sentence? idk). I tried this:

print (x y) and print(zy)
(x, y and z are all input values)

But all I got was a syntax error.
Please help

You are viewing a single comment. View All
LynnOng (26)

@FARHEENPALAGIRI

Try This:

d = int(input())

c = int(input())

ca = int(input())

print(str(d)+str(ca)) and print(str(c)+str(ca))

I can't give you any more than that. I'll need to know more about the code and what you're trying to do.
Hope this helps.