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
French,
2 hours ago
Math,
2 hours ago
Biology,
2 hours ago
Accountancy,
4 hours ago
Social Sciences,
4 hours ago
Math,
7 months ago
Physics,
7 months ago
Biology,
7 months ago