Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test_cases = int(input())
- string1, string2 = map(str,input().split(' '))
- for x in range (0,test_cases):
- list_s1 = list(string1)
- list_s2 = list(string2)
- new_list1 = sorted(list_s1)
- new_list2 = sorted(list_s2)
- print(new_list1,new_list2)
- test_cases = int(input())
- string1, string2 = map(str,input().split(' '))
- for x in range (0,test_cases):
- list_s1 = list(string1)
- list_s2 = list(string2)
- new_list1 = list_s1.sort()
- new_list2 = list_s2.sort()
- print(new_list1,new_list2)
Add Comment
Please, Sign In to add comment