Using the print() function! Flashcards

1
Q

What is the print() function used for?

A

The print() function is used to display the output of any command on the screen, or to print any specified messages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does it mean that Python is a case-sensitive language?

A

Python is a case-sensitive language, which means it differentiates between capital and small letters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give an example of how Python is a case sensitive language.

A

Print(P capital) and print(p small) are 2 different things for python, where print is a valid command for python and Print is just a word, not a command.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to pass more than one argument to the print() function?

A

You can also pass more than one argument to the print() function by separating the arguments with a comma.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly