Cooperative Learning Question
On a piece of paper, write your NAME, SECTION and DATE.
On your paper, put the number of each question and your answer.
def main(): for ct in range(3, 19, 4): print(ct, end=" ") main()
What is the output of the code?
ANSWER: 3 7 11 15
Note that there are NO commas between the numbers and there is a space between each number. The space is because of the string with the space used for end=. Commas do not automatically print out. You would have to print something like (x, ',', y)
Use your notes as desired.
Check with your neighbor to see that they all have the right answers.