Computer Science, asked by premkumar12041978, 5 months ago

38. Write the output for the following python code.
x= 10
x+= 20
print (“The x + = 20 is =",x)
X-= 5
print (“The x - = 5is =",x)
x*= 5
print (“The x*=5 is =,x)
x/=2
print (“The x / = 2 is =",x)
x %= 3
print ("The x %= 3 is =",x)
x**= 2
print (“The x* * = 2 is =",x)
x // = 3
print (“The x//= 3 is =",x)​

Answers

Answered by jai696
1

Adding 20

The x += 20 is = 30

Subtracting 5

The x -= 5 is = 25

Multiplying 5

The x *= 5 is = 125

Dividing by 2

The x /= 2 is = 62.5

Remainder after dividing by 3

The x %= 3 is = 2.5

Raising x to the power of 2

The x ** = 2 is = 6.25

Performing floor division by 3

The x //= 3 is = 2.0

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions