34,908 views
34 votes
34 votes
What is output by the following code? for x in range(7, 16): print(x * 2, end=" ") Group of answer choices 14 16 18 20 22 24 26 28 32 16 18 20 22 24 26 28 32 14 16 18 20 22 24 26 28 30 16 18 20 22 24 26 28 30

User Anthony Johnston
by
2.7k points

1 Answer

15 votes
15 votes

Input:-


\tt for\:x\:in\:range(7,16):


\tt print(x*2,end

Output:-


\tt 14,16,18,22,24,26,28,30,32

The loop will start from 7×2=14 to 16×2=32

User Joe The Person
by
3.0k points