From 58a908b1ed85896403761ec6f6501ec2146845e5 Mon Sep 17 00:00:00 2001 From: harshitha2204 <30696277+harshitha2204@users.noreply.github.com> Date: Sun, 18 Mar 2018 03:16:34 -0500 Subject: [PATCH] Create 3_sort.py --- 3_sort.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 3_sort.py diff --git a/3_sort.py b/3_sort.py new file mode 100644 index 0000000..ecde32c --- /dev/null +++ b/3_sort.py @@ -0,0 +1,6 @@ +list2=['Potter','Fred','Greg','George','Voldemort','Sirius','Dumbledore'] +list1=['Ron','Hermione','Harry','Professor','Dobby','The House Elf','Potter','Granger','Lockhart','Weasly'] +print(sorted(list1)+list2) + + +