1.

Write the output of the given Python code : #!/user/bin/python list1, list2 = [123, ‘xyz’], [456, ‘abc’]print cmpt(list1, list2); print cmp(list2, list1); list3 = list2 + [786]; print cmp(list2, list3)

Answer»

This will produce the following result: 

-1 

-1



Discussion

No Comment Found