LAB
Estimated time
5-10 minutes
Level of difficulty
Very Easy
Objectives
Scenario
The print() command, which is one of the easiest directives in Python, simply prints out a line to the screen.
In your first lab:
The print() function
Three important questions have to be answered as soon as possible:
No wonder then, that from now on, you'll utilize print() very intensively to see the results of your operations and evaluations.
2. What arguments does print() expect?
Any. We'll show you soon that print() is able to operate with virtually all types of data offered by Python. Strings, Numbers, characters, logical values, objects - any of these may be successfully passed to print().
3. What value does the print() function return?
None its effect is enough.