21- What are multiple assignment in python?
Give example.
Answers
Answered by
0
Explanation:
Multiple Assignment
Python allows you to assign a single value to several variables simultaneously. For example:
Here, an integer object is created with the value 1, and all three variables are assigned to the same memory location. ...
Here, two integer objects with values 1 and 2 are assigned to variables a and b.
Similar questions
Physics,
30 days ago
India Languages,
30 days ago
Accountancy,
2 months ago
Social Sciences,
2 months ago
Math,
9 months ago
Physics,
9 months ago
Biology,
9 months ago