Imagine this code:
def code(n): 
    a = range(n) 
    b = list(a) 
    return b 
Am I correct to say that:
- range(n)takes O(1) time (calling- rangein Python is constant time, right?)
- list(a)takes O(n) time, and
- The returnstatement takes O(1) time?
 
     
    