From e368acafbde4b211488b3195b5d617a42b70688b Mon Sep 17 00:00:00 2001 From: deekshitha1425 <37473578+deekshitha1425@users.noreply.github.com> Date: Sun, 18 Mar 2018 10:03:45 +0530 Subject: [PATCH] Create 3_sort.py --- 3_sort.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 3_sort.py diff --git a/3_sort.py b/3_sort.py new file mode 100644 index 0000000..d5e6f5b --- /dev/null +++ b/3_sort.py @@ -0,0 +1,4 @@ +list1=['Ron','Hermione','Harry','Proffessor','Dobby','List Items 2','The House Elf','Potter','Granger','Lockhart','Weasley'] +list2=['Potter','Fred','Greg','George','Voldemort','Sirius','Dumbledore'] +list3=sorted(list1) +print(list2+list3)