Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Printing in python 3.6.5
#1
Anyone able to help me understand why this does not print to the console?

def display_intro():
    print('''why is this multi line comment
              not printing to the console?''')


print()
Reply
#2
Use code tag BBCode.
You most call function.
def display_intro():
    print('''why is this multi line comment
              not printing to the console?''')

display_intro()
Output:
why is this multi line comment not printing to the console?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Printing a new python list abdallah786 3 71,950 Aug-17-2018, 03:21 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020