0

14.2 I’m stuck someone help pls

Somebody wrote code to take a string input and output it, repeated 10 times. However, the code results in an error. Hello section 1 and section 2 oi can’t figure how to have them both on the same equation

22nd Jan 2022, 4:43 AM
Miguel Jeronimo
9 Respuestas
+ 1
Your try?? See what you have to do: Take input as a string print (string*10)
22nd Jan 2022, 4:50 AM
JOKER
JOKER - avatar
+ 1
Yes i tried that it work for one word which is hello and that is section 1 and then section 2 is asking to output oi but when i change hello to oi , section 1 comes out wrong and section 2 comes out right with the green check mark , but i belive they want me to output both words hello and oi so i can het the section 1 and section 2 correct jnstead of one right and one wrong if you understand where im coming from
22nd Jan 2022, 5:03 AM
Miguel Jeronimo
0
Miguel Jeronimo Check the post Simba has attached
22nd Jan 2022, 7:46 AM
JOKER
JOKER - avatar
22nd Jan 2022, 8:14 AM
Miguel Jeronimo
0
Can someone help me pls 😞
22nd Jan 2022, 8:14 AM
Miguel Jeronimo
22nd Jan 2022, 8:36 AM
Miguel Jeronimo
0
Miguel Jeronimo Can you describe the problem?? I am not a pro, therefore I can't see that problem
22nd Jan 2022, 9:05 AM
JOKER
JOKER - avatar
0
Never mind i got it thank you
22nd Jan 2022, 9:06 AM
Miguel Jeronimo