Aman has written the following code in python: 1a=5 2b=10 3c =a+b print (the sum of a and b is ,3c) while executing the above code he found some error messages instead of the desired result.Help him to get the correct result.
Answers
Answered by
10
a, b = 5, 10
c = a + b
print(f"The sum of a & b is {c}")
Answered by
1
a, b = 5, 10
c = a + b
print(f"The sum of a & b is {c}")
c = a + b
print(f"The sum of a & b is {c}")
Similar questions