How to print repeating two strings in ones a code | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How to print repeating two strings in ones a code

Inputs are 'haii' , 'Sam' expected output are repeating string 10times in two different test cases

2nd Oct 2021, 7:55 AM
Jai Naik
4 ответов
+ 4
Could you please post your attempt here as well as a complete problem text?
2nd Oct 2021, 8:21 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 4
Jai Naik , we don't like to guess what your code is doing. so please post your code here. anything else is wasting time. thanks!
2nd Oct 2021, 11:04 AM
Lothar
Lothar - avatar
+ 3
Jai Naik I think we need to see your code and the original challenge description.
2nd Oct 2021, 8:50 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
Input is 'haii ' Repeating 10 times output is like haii haii haii haii.... And another input is 'Sam's Repeating 10 times output like sam, sam sam sam....... Two test cases pass in only one program code When write for repeating 'haii ' for ten times then only one test case is passed another not passed same time
2nd Oct 2021, 8:43 AM
Jai Naik