Enable the edit mode with double click on the editor.
For answers, please select the invisible text right after Answer:
Use the correct argument(s) for the range() function on line 1 in order to return a range of consecutive integers from 0 to 9 inclusively. Use a single argument inside the parentheses of range()!
my_range =
print(list(my_range))
Output: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Answer:
my_range = range(10)
Use the correct argument(s) for the range() function on line 1 in order to return a range of consecutive integers from 117 to 129 exclusively.
my_range =
print(list(my_range))
Output: [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128]
Answer:
my_range = range(117,129)
Use the correct argument(s) for the range() function on line 1 in order to return [10,13,16,19] when converted to a list.
my_range =
print(list(my_range))
Output: [10, 13, 16, 19]
Answer:
my_range = range(10, 20, 3)
Add the correct step as the third argument of the range() function on line 1 in order to return [-75, -60, -45, -30] when converted to a list.
my_range = range(-75, -25, )
print(list(my_range))
Output: [-75, -60, -45, -30]
Answer:
my_range = range(-75, -25, 15)
Write the correct range on line 1 in order to return [-10] when converted to a list.
my_range =
print(list(my_range))
Output: [-10]
Answer:
my_range = range(-10, -9)