This preview shows page 1. Sign up to view the full content.
Unformatted text preview: d return a number that represents the same speed in feet per second. There are 5280 feet in one mile, and 3600 seconds in an hour. For example, problem1(360) should return 528.0 2. Write a function that takes, as input, a positive integer n, and returns a list of the first n powers of 2, starting with 2. Call this function problem2(n). For example, problem2(4) should return...
View
Full
Document
 Fall '12
 DeniseSzecsei
 Computer Science

Click to edit the document details