Question: 9. What does the following Python code do? i in range (10) : x=x+i2 (A) Generates the sum of the squares first 10 natural numbers.
9. What does the following Python code do? i in range (10) : x=x+i2 (A) Generates the sum of the squares first 10 natural numbers. (B) Generates the sum of the squares first 9 natural numbers. (C) Generates the 10m squared number. (D) Generates the 9th squared number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
