+ 1

Python : while giving input

Name=input(X) Print=("how are you" +Name) #This gives out output of how are youX How do i put space between the name and phrase where do i put \t ??

16th Nov 2021, 12:44 PM
Dagim Kumlachew
Dagim Kumlachew - avatar
3 Respostas
+ 3
Hello Dagim, Please don't put links into the tags, it won't work. Put links into the Description to make it work. Here's a bit of intro about use of tags in the forum ... https://code.sololearn.com/W3uiji9X28C1/?ref=app
16th Nov 2021, 1:12 PM
Ipang
+ 2
You can put \t at the end of your phrase within the quotation marks ("How are you\t" + Name) Or simply you can give a single white space ("How are you " + Name)
16th Nov 2021, 1:08 PM
Blen
Blen - avatar
+ 2
Ohh okay thanks let me try
16th Nov 2021, 2:22 PM
Dagim Kumlachew
Dagim Kumlachew - avatar