what is the error in code X,Y=7? in python
Answers
Answered by
4
Answer:
Python programming is an interpreted, high-level, general-purpose programming language.
So , basically it is a very easy platform to perform programs because it does not require so much of syntax to follow. You can easily initialize the variables or pass function it is much easier than any other programing module.
Now, the given code is
X, Y=7
In python basically it will show no error because this type of initialization is error free in python because of its syntax free environment but it few editors it may show error in "Y=7" part so , it is safe to write like "Y = 7 ".
Similar questions