This is my code , gives all right answers .
@aryan_007 You need to print the output as follows : Q = 1234 A = [abcd, awd, lcd]