+ 3

Challenge: nombre triangulaire

Écrivez un code qui retourne un triangle de cette manière: 1 12 123 1234 Vous utiliserez pour cela une entrée de l'utilisateur qui définira le nombre de niveau dans le triangle (4 dans cet exemple) Finalement vous allez afficher la somme de tous les nombres du triangle obtenu Challenge in english: https://www.sololearn.com/discuss/645824/?ref=app

21st Aug 2017, 6:27 PM
Αητοιπe
Αητοιπe - avatar
6 Réponses
+ 9
Hope i understood correctly the task, it would be nice make it available in English. :) https://code.sololearn.com/WrzmeT73691D/?ref=app
21st Aug 2017, 7:14 PM
Maz
Maz - avatar
22nd Aug 2017, 12:27 AM
ysraelcon
ysraelcon - avatar
+ 1
@Maz I also post the challenge in english and your code it's correct
21st Aug 2017, 7:27 PM
Αητοιπe
Αητοιπe - avatar
+ 1
@sayan the same as @Maz, you can post your code in the english post that I made. This post is in French if there is some French people who don't speak english but thank you for your answer
21st Aug 2017, 7:50 PM
Αητοιπe
Αητοιπe - avatar
21st Aug 2017, 7:47 PM
sayan chandra
sayan chandra - avatar
- 2
different challenge on the way TUESDAY TALES https://www.sololearn.com/discuss/646010/?ref=app
21st Aug 2017, 7:25 PM
sayan chandra
sayan chandra - avatar