Question: Help with this computer science class: I don't think my code can include any loops like while in it. Exercise 6.4 Street Addresses For this
Help with this computer science class:

I don't think my code can include any loops like "while" in it.
Exercise 6.4 Street Addresses For this exercise you will write a function to help with generating street addresses in new housing developments. Create a file named addressing.py with a single function named generate_addresses ( ) . This function must take four arguments: 1. The name of the street 2. The initial numerical address 3. The upper bound of numerical address values (exclusive) 4. The interval between numerical addresses The function must return a list of street addresses formatted with the number of the address, followed by a single space, followed by the name of the street. For example: >> print (generate_addresses('Carrier Drive', 1000, 1030, 10)) ['1000 Carrier Drive', '1010 Carrier Drive', '1020 Carrier Drive']
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
