+ 2
Why no output is coming in this what is the mistake?
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/
+ 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..
+ 1
Arnesh thank u I always miss these small points I'll concentrate next time âș
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")
0
I've started the python3 course and it is the part of string. By the the way thanks
0
Ok