*Code *Python 3

def invert(path=''):   
    return path.translate({ord("S"): "E", ord("E"): "S"})

t = int(input())

for i in range(1, t + 1):
    n, p = [s for s in input().split(" ")]

    print("Case #{}: {}".format(i, invert(p)))



It works with the test input but not when I submit it. Can somebody plz 
help me? (And other tips to make it better are appreciated, I am not very 
skilled yet) 

Thank you in advance!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/59a9119e-aace-4c64-8b72-8fefb07807e5%40googlegroups.com.

Reply via email to