0
Write a program to generate the series: 1,9,25,49,81,121,169,225,289,361 using do...while() loop.
Dear friends i want this program's code please give me
4 ответов
+ 3
Here is a more pythonic solution, using a lambda function.
https://code.sololearn.com/cu7Mqhya2jpS/?ref=app
+ 1
https://www.tutorialspoint.com/cplusplus/cpp_do_while_loop.htm
+ 1
Please check this code for C++ solution:
https://code.sololearn.com/cB8rgji5OEH3
+ 1
#Python rules
print([p*p for p in range(1,20,2)])