Why do we say “a b c = 1000 2000 3000” is an invalid statement in python?



Why do we say “a b c = 1000 2000 3000” is an invalid statement in python?..

Answer / Mintu Ahmad

In Python, the assignment operator (`=`) assigns values to variables. However, in the given example, there are multiple variables being assigned a single value using a single assignment operator, which is not valid.nnFor example, you should use:n```na = 1000nb = 2000nc = 3000``

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Which web server is best for python?

1 Answers  


What is a lambda function?

5 Answers  


How can I learn python for free?

1 Answers  


Is python good for oop?

1 Answers  


How do I get a list of all files (and directories) in a given directory in Python?

1 Answers  


Does python have a ternary conditional operator?

1 Answers  


Explain classifier.

2 Answers  


Is python good for coding?

1 Answers  


Which is best python or r?

1 Answers  


What are the generator functions in python?

1 Answers  


What is the process of compilation and loading in python?

1 Answers  


What is Python's Purpose?

2 Answers  


Categories