0

Fix the code to output a triangle of stars that has 4 rows.

print("*\n **/n ***/n ****\n") It is right???

27th Dec 2021, 6:09 PM
Kadam Rutuja Chandrakant
Kadam Rutuja Chandrakant - avatar
3 Answers
+ 2
Only "\n" stands for "new line" there's nothing like "/n"
27th Dec 2021, 6:17 PM
マッドキング♣️✨♣️ [MadKing]
マッドキング♣️✨♣️ [MadKing] - avatar
+ 1
Frisbee yes but I'm not understanding proper code
27th Dec 2021, 6:19 PM
Kadam Rutuja Chandrakant
Kadam Rutuja Chandrakant - avatar
27th Dec 2021, 6:31 PM
マッドキング♣️✨♣️ [MadKing]
マッドキング♣️✨♣️ [MadKing] - avatar