I have a question regarding the session 10. In the tutorial mentor shows that if we print number and string at the same time in a print statement then we just separate them with a ','comma. But I can see the result comes in my editor pycharm is different. .
Input : print(10, "Hi")
Output: C:\Python25\python.exe D:/Python/test.py
Process finished with exit code 0
why the output is coming as a single string??
Question regarding printing a string and number together
Post a Reply
|Oldest Newest Rating|
This section is all about snakes! Just kidding.
|Bucky Roberts Administrator|