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

preview_player
Показать описание
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.

Рекомендации по теме
Комментарии
Автор

Thank you for this wonderful tutorial!

I hope you will make tutorial about input function as well...

SkyFly
Автор

Thank you for the wonderful tutorial for web programming also I have tutorial in html and case at amj series tutorial

amjseries