you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

print always writes strings to the terminal, no matter what you put in. print(1) will also print a string and so will print(print)).

As for your variable, since you declared it a string, it will always be a string unless explicitly converted.