Computer Science, asked by shraddhasarathe8, 3 months ago

p=10
q=20
p*=q/2
q+= q/3
print( p,q)​

Answers

Answered by Anonymous
2

Answer:

hello

Explanation:

  • p=10 # here u have assigned 10 as the value of p
  • q=20  # here u have assigned 20 as the value of q
  • p*=q/2  #this statement says that p = p*(q/2) which means                    10*(20/2) = 10 * 10.00 = 100 .00
  • q+= q/3 #this statement says that q=q+(q/3) which means                         20+(20/3) = 20 + 6.666666666666667 = 26.666666666666668
  • print( p,q)​ # this statement is for printing the p and q value

hence the output will be :

100.00   26.666666666666668

hope it helps you

please mark brainliest

@ItzSnowySecret07

Similar questions