0
answer
x = np.arange(1, 5) x = x*2 print(x[:3].sum())
2 Respuestas
+ 4
Check in Code Playground.
+ 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.