14.3 python beginners: How do you satisfy multiple test cases? | Sololearn: Learn to code for FREE!

+2

14.3 python beginners: How do you satisfy multiple test cases?

I can satisfy test case one OR test case two but not both. And it won’t even let me attempt three or four. Anyone else stuck on this one? Help! https://code.sololearn.com/csdyripXjtny/?ref=app

12/6/2021 12:58:20 PM

Rick Hudgel

8 Answers

New Answer

+3

You shouldn't modify the input, but the output. Take the input as is, then work your print statement.

+3

* take input using input() * output the input but put the start around it, use print() for output I think you mix up input and output. Remove the string inside the input function and have a look at print() again!

+1

I don't know the task, but usually you need to take input() and use the input value in the calculations. Can you please link your code and explain what you try to do?

+1

Here is the task: You’re working on a notification system and need to make the notification text eye-catching. Write a program that takes the text as input and outputs it by adding 3 stars at the beginning and the end. Sample Input this is awesome Sample Output *** this is awesome ***

+1

I told you the steps how to approach the problem. You can review lesson "Taking User input" everything you need will be explained there

0

I linked the first test case and it works but there are three more test cases that this does not satisfy.

0

I really appreciate it but I’m really new and confused. Could you try explaining again?

0

Lol. I have. Thanks.