Problem Solving

a=input(“First no:”)
b=input(“Second no:”)
c=add(a,b)
print “Total of {} and {} is = {}”.format(a,b,c)

def add(x,y):
q = x+y
return q

It shows me an Indentation error : Can anybody please solve it?

if you have an indent issue, you should post your code with format:

How do I format code in my posts?

otherwise the indent doesn’t show, and we can’t fix the issue

Can you please help me in this program here?

if you post your code properly with format so i can see and fix the indent(ion), yea, sure.

look at your code:

image

the indent doesn’t show on the forum given no format was used. Please acknowledge my reply at least