what is wrong with the following code
name:"Freya"
class=4
print (name+class)
Answers
Answered by
3
Answer:
First of all this : name:"Freya" should be : name="Freya" . And also string value can't be concatenated with integer . Convert the number 4 into string .
Correct Code :
name="Freya"
class="4"
print (name+class)
Similar questions