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

Today while i am solving this []…
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:

321 779
1 Like