Computer Science, asked by Jayita16, 2 months ago

Using multiple statement, write the corresponding Python assignment statements.

a) Assign 32 to variable length and 40 to the variable breadth

b) Assign a list containing strings ‘Paper’, ‘Gel Pen’, and ‘Eraser’ to a variable stationery.

c) Assign the strings ‘Mohandas’, ‘Karamchand’, and ‘Gandhi’ to variables first, middle and last.

d) Assign the values 2000, 0.3 and 2 years to the variables p, r and t.

e) Assign the values 12, 2.5, 6 to the variable t.​

Answers

Answered by barani7953
1

Explanation:

a) length = 10

breadth = 20

b) sum = (length+breadth)/2

c) stationary = ['Paper', 'Gel Pen', 'Eraser']

d) first = "Mohandas"

middle = "Karamchand"

last = "Gandhi"

Similar questions