Python sample question with answer 2
Question:
Which of the following options is a Python comment?
- print("username")
- "username authorized"
- # Print authorized usernames
- % Display authorized users
Answer:
C - is Python comment. Comments are notes that programmers make about the intention behind their code, and they begin with the # symbol