231k views
5 votes
NEED HELP ASAPPP

what will this code output?

print(9//2)

1 Answer

5 votes

Answer:

The output depends on the programming language;

'//' in many languages means comment (javascript, C, C++, etc.)

In that case, this would return an error.

If the programming language does not use '//' for comments (e.g., Python) this will output a boolean 1 because '//' is not an operator.

User Rohit Sangal
by
6.2k points