You print extra line "Output".

пт, 12 апр. 2019 г. в 16:40, Mohit Bindra <[email protected]>:
>
> I tried quite a few test cases and all worked fine however when I submit my 
> code, it says Wrong Answer.
> Can anyone check and tell me what I am missing here ?
>
> t = int(input())
> a = []
> for i in range(t):
>     x = input()
>     a.append(x)
>
> print("Output")
> for i in range(len(a)):
>     x = int(a[i].replace('4','3'))
>     y = int(a[i]) - x
>     print("Case #",i+1,": ",x," ",y,sep='')
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-code/0bc40626-657b-46b9-a4e0-bc83dec75a4b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CANBUrM8P-qWpY5snWiHL51g0uuUvs30NaeKcfMX%3DJ6U4qPqv5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to