Exercice avec du code caché et deux versions
La liste nombres
se trouve dans du code caché.
Compléter la fonction somme
qui prend en paramètre une liste de nombres ma_liste
, et renvoie la somme des nombres de cette liste.
Tronquer ou non le feedback dans les terminaux (sortie standard & stacktrace / relancer le code pour appliquer)
Si activé, le texte copié dans le terminal est joint sur une seule ligne avant d'être copié dans le presse-papier
.128013edg
ysP2m1hlk0(_-f+"Sn 4b=cvwt35apr):u/oi0306050y0B0J0g0a0r0v0g0B0a0a0u0o0y0J0C0o0208030a0G0d0d0B0D09020p0I0g0G0!0I0q030H0*0,0.0:0(0C0203130|160H130(060J0w0S0U0W0Y0U0q070G0B07050l0C090y0f0`0r0f0J070f0g1y0f0y0%030N0t0g051f0V0X0o1x1z1B1z0y1H1J1F0y0D141t0S0?0a0C0B0q0Y0c0o1L1h0o0m0P050q0B0d051F1%1(1-1N1:1J1?1^0%040r0b0D0I0C0I0a0J0_0q0r0L1#0D0D050v2d0|1{0q140H1t2q1X1Z1Y1G061}1i0J0q1=2a1F1c1e0T1M2A2C0q0I2G1F0C2j142o2q2T0)1'2e2I1.2M0D0-0g1F0B1w2j0m0Y010k0k0v2N051B2L0I0l0i0l0e0%0e0|0B2U2X0'2W1|2Z1N2#2%2(2*052,0o2.2:2=2@2D2`0l1+020c30321(342o2z0o390B2'142)0f2+2-2/2;0L3j2M3l0z0%0z3q2n330(3u370Y3x3z033B3D3f3F3i2B3k2{0s0%0s3O0}3Q352Y1g380I2$3y3b3C3d3E3h3H3%3J2{0A0%0A3,2V192R0|2G2t061Z2y3T0o3G1_144a1548462V4h2S2X0r0J060Y2/2o3l2}3A4s4u0o3#3~2^4y1,21054v3}2?3 2_2{4z3O3S3;0Y0h0%0L0m3P3s0r3/3v0q0m0%0a0I0,054!2p4%4f0$020j4/4q364U3w0%0-0k1B0a0y4.3-3s4;4|4?0E0F4_0(554:3u4t4L4x2{3n3X4B4L4h3I4P3m4I1@4K4D4M5q3l5l0H310r5D4$4T2J4}020y0I0N0g4_5F4r4f0I0%0u5O575H0d0J0%0i5c4_4%5h5w5j0l3L4A5(4E4N4G2{3L0r4J5o3$5;5+1F5B025E5P4{5H4W020m3?5V5G2!0%0q0t2j685Q4|0I0x0%2B6f626a024 51535%691N4?5b5e346y5'4C4w2X3l3)5-6C5x4O6F5t1^5_4F3'0l6G3q60605W6o5K5M6m3:5H5S025U6y616#6X5L3y6!3v6%0n6/4f0q6b6d542T5d2V5g6I5*426H6O5:6Q425@5u745y415}5C5E6W1N642j0y0G0D0{6)7g3U0%6Y6.6y6}330|4p17480H4k2r4c0|2u7F0B1I052q4a5d0L0N0P0a02.
###(Dés-)Active le code après la ligne
(Ctrl+I)
# Tests
(insensible à la casse)(Ctrl+I)
Tronquer ou non le feedback dans les terminaux (sortie standard & stacktrace / relancer le code pour appliquer)
Si activé, le texte copié dans le terminal est joint sur une seule ligne avant d'être copié dans le presse-papier
.128013edg
ysP2m1hlk(0_-f+"Sn 4b=cvwt35apr):u/oi0306050y0B0J0g0a0r0v0g0B0a0a0u0o0y0J0C0o0208030a0G0d0d0B0D09020p0I0g0G0!0I0q030H0*0,0.0:0(0C0203130|160H130(060J0w0S0U0W0Y0U0q070G0B07050l0C090y0f0`0r0f0J070f0g1y0f0y0%030N0t0g051f0V0X0o1x1z1B1z0y1H1J1F0y0D141t0S0?0a0C0B0q0Y0c0o1L1h0o0m0P050q0B0d051F1%1(1-1N1:1J1?1^0%040r0b0D0I0C0I0a0J0_0q0r0L1#0D0D050v2d0|1{0q140H1t2q1X1Z1Y1G061}1i0J0q1=2a1F1c1e0T1M2A2C0q0I2G1F0C2j142o2q2T0)1'2e2I1.2M0D0-0g1F0B1w2j0m0Y010k0k0v2N051B2L0I0l0e2`0%0e0|0B2U2X0'2W1|2Z1N2#2%2(2*052,0o2.2:2=2@2D2`0l1+020c2 311(332o2z0o380B2'142)0f2+2-2/2;0L3i2M3k0z0%0z3p2n320(3t360Y3w3y033A3C3e3E3h2B3j2{0s0%0s3N0}3P342Y1g370I2$3x3a3B3c3D3g3G3$3I2{0A0%0A3+2V192R0|2G2t061Z2y3S0o3F1_14491547452V4g2S2X0r0J060Y2/2o3k0e3a4s4u3|2?3~2_2{4y0r21054B4g3H4F2|2q303.3u0h0%0L0m3O3r0r4S4e0q0m0%0a0I0,054Y2p4#3:0Y0$020i4-4p354:3v0%0-0k1B0a0y4,3,3r4/2J0o4=0E0F4^0(544.3t4A0o4v2X3k3m3W4r4t5i4C4N5l1,4J4L3#2^5t4Q020r5C4!3R4{0q0%0y0I0N0g4^5E4q4e0I0%0u5N561.0d0J0%0j5c4^4S5h5j1(3J4z5p3!3}5y2{3K4I1@4K5q4M4E5*5A5D5O4`574U020m3=5U5F575H020q0t2j655P4{0I0x0%2B6d5 2!4}0B4 0J51532V661.4=5b5e336y5%5,0k4w3'5+5w5.3%0l3(5=1^6H4D5/6K1F0H305}5}5V375I5K3x6k3/575R025T6y5~6%6m025J5L6$3u6(0n6=4$0%6a6c6y5d6t4q5'6D5k406G5^5x6J416M5@5-6P796S6U5D6X0Y612j0y0G0D0{6+7j4|6/6!5M6~5$0H4o17470H4j2r4b0|2u7H0B1I052q495d0L0N0P0a02.
# Tests
(insensible à la casse)(Ctrl+I)