My code is not run i dont why


#1

def main():
A = int(input())
B = int(input())
print(A+B)
print(A-B)
print(A*B)
print(A/B)
print(A//B)
print(A%B)
print(pow(A,B))
# Print seven lines as described above

if name == ‘main’:
main()


#2

For Integer division you have used ‘/’ instead of ‘//’ and vica versa for float division.
For power it is written as A**B.


#3

Because function return or print only one value…


#4

def main():
A = int(input())
B = int(input())
print(A+B);
print(A-B);
print(A*B);
print(A//B);
print(A/B);
print(A%B);
print(A**B);
return 0;

if name == ‘main’:
main()
me too same issue


#5

There should not be semi-colons.Remove them and try.It will work.


#6

def main():
A = int(input())
B = int(input())
print(A+B)
print(A-B)
print(A*B)
print(A//B)
print(A/B)
print(A%B)
print(A**B)
return 0

if name == ‘main’:
main()
again it is showing incorrect Answer!


#7

Indentation error probably, or check if the compiler is selected as Python 3 (python-3.5).


#8

def main():
A = int(input())
B = int(input())
print(A+B)
print(A-B)
print(A*B)
print(A//B)
print(A/B)
print(A%B)
print(A**B)
return 0

if name == ‘main’:
main()
This will be the correct solution


#9

A = int(input())
B = int(input())
print(A+B)
print(A-B)
print(A*B)
print(A/B)
print(A//B)
print(A%B)
print(A**B)