Python Fundamentals - Important Questions | CBSE Class 11

Опубликовано: 01 Октябрь 2024
на канале: Pradnya's Class
365
11

‪@pradnyasclass‬
📚Important Questions - Part 2 | Python Fundamentals | Class 11 Computer Science
👉1. Predict the output.
x , y = 20, 60
y , x, y = x, y -10 , x +10
print(x , y )
👉2. Write the corresponding Python assignment statement.
a) Assign 10 to variable x and 20 to variable b
b) Assign average of a and b to variable avg.