a=float(input("Enter the first reading = "))
b=float(input("Enter the error in first reading = "))
e=float(input("Enter the power of the first reading = "))
c=float(input("Enter the second reading = "))
d=float(input("Enter the error in second reading = "))
f=float(input("Enter the power of the second reading = "))
print("The sum of the readings =",a+c,"±",b+d)
print("The difference of the readings =",abs(a-c),"±",b+d)
p=(a*c)*((b/a)+(d/c))
print("The product of the two readings =",a*c,"±",p)
q=(a/c)*((b/a)+(d/c))
print("The division of the two readings =",a/c,"±",q)
m=e*(b/a)*100+f*(d/c)*100
print("The power error of two readings =",m,"%")