0
Python 16.2
I can’t seem to solve it. The problem is getting three stars on each side of a word but I believe you have to include multiple words? Please help
5 Respostas
+ 8
Oscar Adame
You can try something like this too.
text = input()
print("***" + " " + text + " " + "***")
+ 1
Oscar Adame
Just do
print ("*** " + input() + " ***")
+ 1
name = input()
print("***" + " " + name + " " + "***")
i have tried this and it actually works
0
I tried that but it prints the word twice
- 7
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 ***