Python: Part Six - Deepstash
Learning Python: Basic Mathematical Operators error

So as you can see from the image we are using 2 variables, x and y. Like in the previous lessons explained about variables, x contains the string Hello World, what makes it a string is " " the use of these quotation marks. Next in y there is a integer value 10. Then i am adding them both together, but as you can see it has given a error when i tried to print it. This is because you cant use mathmatical operators when you have one string and one number, you can add string and string but this is for another lesson.

Dont forget to jon the Discord channel for help.



🚶 On a walk

Deepstash helps you become inspired, wiser and productive, through bite-sized ideas from the best articles, books and videos out there.