Help me because I don't know how to solve practice 16.2 in variables > input (python for beginners) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me because I don't know how to solve practice 16.2 in variables > input (python for beginners)

I do not know how to solve the two tasks together. If one is right, the other will be wrong

6th Sep 2021, 7:26 PM
Kareem Emad Aldeen
Kareem Emad Aldeen - avatar
6 Answers
+ 5
Kareem Emad Aldeen , (please do not ask for ready-made code) what you have to is to input only the text message, not the stars '*...' after input is done: take this string: "***" add an additional space " " add the input message add an additional space " " add this string "***" => 'add' means by using the + operator put all this stuff in the print() function like print("***" + " " + ....)
6th Sep 2021, 7:49 PM
Lothar
Lothar - avatar
+ 4
to get useful help from the community,  we need to see your attempt first. without having seen your code, it is difficult to find out where the issue is. => please put your code in playground and link it here thanks!
6th Sep 2021, 7:34 PM
Lothar
Lothar - avatar
+ 1
Hi Kareem Emad Aldeen, Please can you post your attempt first, and perhaps put what your trying to do so I can help (as I like many people do not have pro).
6th Sep 2021, 7:35 PM
Kamil Hamid
Kamil Hamid - avatar
0
input("*** hello ***") input ("*** python is awesome ***") These are the codes, but I do not know how to make the two answers correct together, and thank you Kamil Hamid , Lothar
6th Sep 2021, 7:38 PM
Kareem Emad Aldeen
Kareem Emad Aldeen - avatar
0
Sorry, can you explain me more or send the code because I don't understand
6th Sep 2021, 7:59 PM
Kareem Emad Aldeen
Kareem Emad Aldeen - avatar
0
I know how to solve it, thanks
6th Sep 2021, 8:47 PM
Kareem Emad Aldeen
Kareem Emad Aldeen - avatar