How do you make a block comment in python?

+2 votes

I have tried using triple quotes but it only turns the code green. As if i were to print it. Not red

""" How do i make a block comment """

So how can i make a block comment, or is it supposed to be green.

Aug 23, 2018 in Python by bug_seeker
• 15,360 points
72 views

1 answer to this question.

0 votes
''' This is a multiline comment. I can type here whatever I want. '''
answered Aug 23, 2018 by Priyaj
• 57,300 points

Related Questions In Python

0 votes
1 answer

How do you make a higher order function in Python?

You have two choices to create higher-order ...READ MORE

answered Jul 25 in Python by Yesha
38 views
0 votes
1 answer

How do you add a background thread to flask in Python?

The example below creates a background thread ...READ MORE

answered Nov 19, 2018 in Python by Nymeria
• 3,520 points
10,405 views
0 votes
1 answer

How do I make a delay in Python?

Hahah! Yes, you need to create a ...READ MORE

answered Jul 4 in Python by Pooja
37 views
0 votes
1 answer
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 420 views
+4 votes
6 answers
0 votes
1 answer

How do I copy a file in python?

Use the shutil module. copyfile(src, dst) Copy the contents ...READ MORE

answered Jul 31, 2018 in Python by Priyaj
• 57,300 points
44 views
0 votes
1 answer

How do you get the logical xor of two variables in Python?

What i found is that you can use ...READ MORE

answered Aug 10, 2018 in Python by Priyaj
• 57,300 points
1,223 views