Why no output is coming in this what is the mistake? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why no output is coming in this what is the mistake?

https://code.sololearn.com/c7EL5tnbM3e5/?ref=app

18th Jul 2020, 2:25 PM
blooming Flowers
blooming Flowers - avatar
6 Answers
+ 1
It wouldn't output unless you output it. Do print("""customer: hello where are the fields. owner:this way sir.""") https://code.sololearn.com/cfYyGK385E8W/?ref=app https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2270/
18th Jul 2020, 2:29 PM
Arnesh
Arnesh - avatar
+ 2
You forgot to print it You have to use print to do that. In python course, when you'll move further, you will get the topic of Docstrings which are nothing but multiline comments in python. The topic is not much explained in the previous topics. There's only taught that when you'll use print with three commas at the beginning and end of a string, then there is no need to use "\n" for new line, you can simply press enter..
18th Jul 2020, 2:32 PM
Arctic Fox
Arctic Fox - avatar
+ 1
Arnesh thank u I always miss these small points I'll concentrate next time ☺
18th Jul 2020, 2:32 PM
blooming Flowers
blooming Flowers - avatar
0
Read the python course first. What you are doing is commenting out the line which tells the interpreter to ignore the line. Use: print("Something")
18th Jul 2020, 2:28 PM
Ćheyat
Ćheyat - avatar
0
I've started the python3 course and it is the part of string. By the the way thanks
18th Jul 2020, 2:30 PM
blooming Flowers
blooming Flowers - avatar
0
Ok
18th Jul 2020, 2:34 PM
blooming Flowers
blooming Flowers - avatar