Exercise 3:
write a loop asking the user for a number.
print every number from 1 to the number entered (and including the number entered)
write a second loop printing only the odd numbers in the range given.
Exercise 4:
Create a list called friend by inputting four names in it. a) Use a function to create the items in the list. Do not just enter names. b) Write a function to sort the list, c) then using the sorted list in a for loop, print a personalized message to each of them. Be sure to include their name in the message.
d) Add an if-else statement that says if first friend’s name (that is the first name in your friends list) print “{friend ’s name}, you are my favorite friend.” Else print “{friend’s name}, You are one of my best friends