Write the corresponding Python assignment statements.
i) Assign 10 to a variable height and 20 to a variable weight
ii) Assign the sum of height and weight to a variable total.
Answers
Answered by
2
Answer:
i)
height = 10
weight = 20
ii)
total = height + weight
Answered by
5
height, weight = 10, 20
total = height + weight
Similar questions