print
, and input
Which of the following lines of Python contain a comment?
# Author: Professor Xavier
print("Hello!") # greet the user
input("Enter your favorite 2-digit number (##): ")
What does the following code print?
print("CSCI", 99 + 42, "at WWU")
What does the following code print?
print("CSCI", "99 + 42", "at WWU")
How many arguments are given to the following call to the print function?
print("CSCI", 99 + 42, "at WWU")