KnowledgeBoat Logo
|
LoginJOIN NOW

Informatics Practices

Write Python codes for the following statements:

(a) Assign value 10 to variable a.

(b) Assign value 10 to variables a, b and c.

(c) Assign value 20 to x and delete 5 from x and assign the variable x to y.

Python Funda

2 Likes

Answer

(a)

a = 10

(b)

a = b = c = 10

(c)

x = 20
x = x - 5
y = x

Answered By

2 Likes


Related Questions