Ask Question

Write Python statements that correspond to the actions below and execute them (a) Assign integer value 3 to variable a. (b) Assign 4 to variable b. (c) Assign to variable c the value of expression a * a b * b.

+2
Answers (1)
  1. 13 September, 12:58
    0
    Here is code in Python.

    #integer value 3 assigned to variable a.

    a=3

    #integer value 4 assigned to variable v.

    b=4

    # the value of given expression a * a b * b will be assign to variable c.

    c = (a*a) * (b*b)

    Explanation:

    First an integer value is assigned to variable "a". And then integer 4 is assigned to variable "b". Calculate the value of expression a*ab*b and assigned to variable "c". Here expression a*ab*b can also be written as (a*a) * (b*b).
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write Python statements that correspond to the actions below and execute them (a) Assign integer value 3 to variable a. (b) Assign 4 to ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers