r/PythonLearning • • Aug 12 '25

Why not 4th!

Post image

In the fourth argument is the string "end1 ", then why is the correct answer the 1st one
This is a Codechef practice problem

11 Upvotes

14 comments sorted by

View all comments

1

u/[deleted] Aug 16 '25

Bad question intended to trip you up for using the wrong font.

You'd never ask this kind of question in an academic setting unless you were trying to intentionally trick students, which no good professor would ever do.

A better question would be something like:

What is the result of the following code:

print("Hello world!" * 5)

Or something similar.