23 Answers

New Answerx = (r+7)**2 r is in range (1,18) Find the sum of all the values of x. For e.g. if r is 1, x=64 If r is 2, x = 81 So I have to find 64+81+...

7/7/2020 6:19:01 AM

Khushan Chauhan23 Answers

New Answerprint(sum([(x+7)**2 for x in range(1,18)])) You can write like this in only one line code

Khushan I want to see how you have used your Python knowledge.So share your attempt here

Hot Today

Confused
What is the best way to learn programming???
I want to learn C++
Is being sixteen too young to learn to code
Why the answer is 1?
What is the error in my code?
Is it too early for a 14 years old kid to start learning how to code
How To get User's Storage File By JavaScript/Php
How can I learn how to code
Can I get IT job with my talent and without any degree ...😁

Learn Playing. Play Learning

SoloLearn Inc.

4 Embarcadero Center, Suite 1479

San Francisco, CA 94111

© 2020 SoloLearn, Inc. All rights reserved.

Send us a message