Python's print() function: Python 2 vs 3

Published: 07 May 2020
on channel: Real Python
3,013
65

The syntax for print() changed between Python 2 and 3. In Python 2, print was a statement. In Python 3, it has been changed to a built-in function. By changing it to a function, it is now easier to have parameters such as sep and end. You can also now use dependency injection techniques like you could with other functions.

Click here to learn more: https://realpython.com/courses/python...


Watch video Python's print() function: Python 2 vs 3 online, duration hours minute second in high quality that is uploaded to the channel Real Python 07 May 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 3,013 times and liked it 65 visitors.