Why the following code is giving error?
Name="James"
Salary=20000
Dept="IT"
print("Name is ",Name,end='@')
print(Dept)
print("Salary is ",Salary)
Answers
Answered by
5
Answer:
Bro your coding is correct but don't know why you are getting error
I have pinned my coding try that once, if this not works then there is something problem in your python
And, in 1st I have pinned the image of coding and in 2nd I have pinned the output, so while you are running check your output whether it's matching with mine output
And, ya type the coding don't edit in your coding
Hope you may get it
Mark as brainliest
Thank You...
Attachments:
Similar questions