+ 2
Write a program that takes the text as input and outputs it by adding 3 stars at the beginning and the end.
I always get the first case but the second case keeps showing error, I don't know what to do l, can someone help me please name = (("")) print (("*** hello ***" ) ) age = ("") Print ("*** python is awesome ***")
6 Respuestas
+ 2
str= input()
print("*** " + str + " ***")
+ 1
Read the task carefully
"Write a program that takes the text as input and outputs it by adding 3 stars at the beginning and the end"
For example,
text = input()
print("!"+text+"!")
+ 1
Still doesn't work
0
x = input()
y = "***"
print(y, x, y)
0
x = input()
y = "***"
print(y, x, y)