Python 16.2 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

26th Apr 2021, 1:50 PM
Oscar Adame
Oscar Adame - avatar
5 Answers
+ 8
Oscar Adame You can try something like this too. text = input() print("***" + " " + text + " " + "***")
26th Apr 2021, 2:36 PM
Shivani 📚✍
Shivani 📚✍ - avatar
+ 1
Oscar Adame Just do print ("*** " + input() + " ***")
26th Apr 2021, 2:28 PM
A͢J
A͢J - avatar
+ 1
name = input() print("***" + " " + name + " " + "***") i have tried this and it actually works
21st Dec 2021, 2:12 PM
KULKARNI PRASAD M.
KULKARNI PRASAD M. - avatar
0
I tried that but it prints the word twice
26th Apr 2021, 2:32 PM
Oscar Adame
Oscar Adame - avatar
- 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 ***
26th Apr 2021, 2:15 PM
Oscar Adame
Oscar Adame - avatar