Hello. I’m working my way through the Scientific Computing with Python course, and am on this video specifically: https://www.freecodecamp.org/learn/scientific-computing-with-python/python-for-everybody/intermediate-expressions
The type() function (If I get the technical term wrong please correct me. I’m just beginning to dip my toes in Python.) is given as an example to have Python show what type something is. For example integer or string.
When I try to test this myself using the same code presented nothing happens.
eee = "Hello " + "there." eee = eee + 1 type(eee)
I understand that line 2 is an example to show python cannot add integers and string. I’m keeping it there because it was in the example. I’ve tried #commenting it out or just deleting it as well, but type(eee) still does nothing.
It doesn’t seem to be a big issue, and won’t keep me from moving forward, but I’m just looking for help as to why it does work as shown.
Thanks in advance for any help to this really noob question.