<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Functions and Methods Homework
Complete the following questions
Step1:  Write a function that checks whether a number is in a given range (Inclusive of high and low)
Step2:  If you only wanted to return a boolean
Step3:  Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters.
Sample String 
Step4:  Write a Python function that takes a list and returns a new list with unique elements of the first list.
Sample List 
Step5:  Write a Python function to multiply all the numbers in a list.
Sample List 
Step6:  Write a Python function that checks whether a passed string is palindrome or not.
Note
Step7:  Hard
<ASSISTANT_TASK:>
Python Code:
import math 
def vol(rad):
    return 4/3*math.pi*(rad**(3))
vol(2)
Explanation: Functions and Methods Homework
Complete the following questions:
Write a function that computes the volume of a sphere given its radius.
End of explanation
def ran_check(num,low,high):
    return low <= num <= high 
ran_check(3,4,5)
ran_check(3,1,100)
Explanation: Write a function that checks whether a number is in a given range (Inclusive of high and low)
End of explanation
def ran_bool(num,low,high):
    return low <= num <= high 
ran_bool(3,1,10)
Explanation: If you only wanted to return a boolean:
End of explanation
def up_low(s):
    
    nUpper = 0
    nLower = 0
    
    for word in s.split(): 
        for letter in word: 
            if letter.isupper():
                nUpper += 1
            elif letter.islower():
                nLower += 1
    print 'No. of Upper case character : %d' % nUpper
    print 'No. of Lower case character : %d' % nLower
up_low('Hello Mr. Rogers, how are you this fine Tuesday?')
Explanation: Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters.
Sample String : 'Hello Mr. Rogers, how are you this fine Tuesday?'
Expected Output : 
No. of Upper case characters : 4
No. of Lower case Characters : 33
If you feel ambitious, explore the Collections module to solve this problem!
End of explanation
def unique_list(l):
    return list(set(l))
unique_list([1,1,1,1,2,2,3,3,3,3,4,5])
Explanation: Write a Python function that takes a list and returns a new list with unique elements of the first list.
Sample List : [1,1,1,1,2,2,3,3,3,3,4,5]
Unique List : [1, 2, 3, 4, 5]
End of explanation
def multiply(numbers):  
    return reduce(lambda x,y: x*y, numbers)
multiply([1,2,3,-4])
Explanation: Write a Python function to multiply all the numbers in a list.
Sample List : [1, 2, 3, -4]
Expected Output : -24
End of explanation
def palindrome(s):
    return s[::-1] == s
palindrome('helleh')
Explanation: Write a Python function that checks whether a passed string is palindrome or not.
Note: A palindrome is word, phrase, or sequence that reads the same backward as forward, e.g., madam or nurses run.
End of explanation
import string
def ispangram(str1, alphabet=string.ascii_lowercase):  
    # str1 = str1.lower()
    str1 = str1.lower().replace(" ","")
    return set(str1) == set(alphabet)
ispangram("The quick brown fox jumps over the lazy dog")
string.ascii_lowercase
Explanation: Hard:
Write a Python function to check whether a string is pangram or not.
Note : Pangrams are words or sentences containing every letter of the alphabet at least once.
For example : "The quick brown fox jumps over the lazy dog"
Hint: Look at the string module
End of explanation
<END_TASK>