Menu

Using Python 1 Assign 4 Integer Variable X Assign 16 Integer Variable Y Calculate Sum X Y Q43902329

Using Python:

1) Assign 4 as an integer to variable x, assign as 16 an integerto variable y:

a) Calculate the sum of x and y, andassign it to variable xy. Print variable xy to the console.

b) Calculate xy to the power of x, andassign it to variable z. Print variable z to the console.

c) Calculate z divided by the squareof xy, and assign it to variable xyz. Print variable xyz to theconsole.

Expert Answer


Answer to Using Python: 1) Assign 4 as an integer to variable x, assign as 16 an integer to variable y: a) Calculate the sum of x …

OR