233k views
5 votes
What is the difference between the output of these two statements?

print("email")
print(email)

A: One statement prints the word "email" in quotes, the other prints the word email without quotes

B: One statement prints the word email, the other prints the value of a variable named email

C: One statement prints out the word email, the other gets input and stores it in a variable named email

D: There is no difference, both statements print the word email

1 Answer

6 votes

Answer:

B: One statement prints the word email, the other prints the value of a variable named email

Step-by-step explanation:

This is because if you add quotation marks, it will be counted as a text output.

If there are no quotes, it would assume that it is a variable.

User Jakub Adamek
by
7.4k points