+ 2

programmers challenge....

generate: ----- 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 infinity times...

18th Dec 2017, 4:35 AM
Saif
Saif - avatar
4 Answers
18th Dec 2017, 4:55 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 8
sadly you cant in code playground. It will exceed time limit.
18th Dec 2017, 4:50 AM
inactive instagrammer
inactive instagrammer - avatar
18th Dec 2017, 6:06 AM
Lindsay Linjie Chen
Lindsay Linjie Chen - avatar
+ 1
python version: https://code.sololearn.com/ca1efSedqavD/?ref=app Prints 24 ā€œ2ā€ as shown in your requirement.
18th Dec 2017, 5:47 AM
H Chiang