answer | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

answer

x = np.arange(1, 5) x = x*2 print(x[:3].sum())

19th Nov 2022, 4:49 PM
Aphiwe Kunene
Aphiwe Kunene - avatar
2 Answers
+ 4
Check in Code Playground.
19th Nov 2022, 4:51 PM
A͢J
A͢J - avatar
+ 2
Hi! If you want to run a code on Sololearn then, ➡️ Go to the Code Playground section (you can find it here : https://code.sololearn.com) and click on the + icon at the bottom right corner. ➡️ Then select language and write your code and save it. ➡️ Then click on Run and your Code will get executed.
19th Nov 2022, 6:20 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar