Introduction to Programming with Python: Output with print() and input from the user with input()

preview_player
Показать описание
This video provides an overview of how to customize output to the console with the print() function, including:
-Using the end keyword argument to change the default newline character appended to the end
-Using the sep keyword argument to change the default space character inserted between arguments
-Rounding floating point numbers to 2 decimal places
And how to get input from the user with the input() function (plus how to convert strings to numeric types).

Рекомендации по теме