Question: LANGUAGE: PYTHON QUESTION 1: Write a python script that does the following 1. Create and print a list of the square roots of numbers 1
LANGUAGE: PYTHON
QUESTION 1:
Write a python script that does the following
1. Create and print a list of the square roots of numbers 1 through 5 using for and range functions.
2. Create and print a list of the squares of numbers 6 through 10 using for and range functions.
3. Create one list that contains all values of both lists using .extend()
QUESTION 2:
Write a python script that determines the season of a persons birth month and how many days are in that month.
1. Begin with an input statement to request the birth month. (Account for people entering the month is a different case)
2. Create conditional statements to determine the season (Winter is Dec, Jan, Feb; Spring is Mar, Apr, May; etc)
3. Create conditional statements to determine the number of days in their birth month (30 days hath September...)
4. Your script should end by printing something like:
Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
