Python lesson 16.2 | Sololearn: Learn to code for FREE!

-1

Python lesson 16.2

Can anybody help me figure out how to do this lesson. I am completely new to programming and I'm having some trouble.

2/6/2021 3:34:12 AM

Raul

8 Answers

New Answer

+3

Raul Read the given description carefully. As you mentioned you need (***) on both side of your text. Here, for the text you will be taking as input & on both sides you will be adding (***) & by concatenation. Hope this helps you πŸ‘

+3

have you checked the comments of the lesson before posting in general Q&A Discussions section?

+1

so, please provide an accurate description of your problem, or at least the link to the lesson about ^^

+1

can't solve the practice for 16.2. for some reason when i do the input it puts both the hello from the input line and the one from the print line

0

I checked the comments as suggested but nothing available to help my issue.

0

The lesson asks me to add (***) as an input. However I can't seem to get it on both sides of the word "hello". Any help is appreciated.

0

So, I am also having trouble with this 16.2 beginners python lesson. I understand that we need to have (***) as an input, but I can only get it on one side. (ex. of my incorrect solution to the problem πŸ‘‡) stars=input(β€œ***”) print(stars + β€œhello” + stars) output: ***hellohellohello

0

you don't have to provide argument to input... you just have to print input result enclosed by triple asterisk: inp = input() print('***'+inp+'***')