Print("1") and print(1) are same or not?

Today while i am solving this [CodeChef: Practical coding for everyone]…
The compiler only accepts if the solution is an integer if it is string it is not accepting.
Is print(“1”) and print(1) are different?

Submitted Solution:
accepted solution
rejected solution

Can any one explain how it differs?

Thanks in Advance.:sweat_smile:

Consider the testcase:

1
321 779
1 Like