adspace


In Python, how do you remark numerous lines?

Answer Posted / nashiinformaticssolutions

Multi-line comments are those that contain more than one line. All lines that will be commented must begin with a #. To mark many lines, you can also utilize a handy shortcut. All you need to do is input a # once while holding down the Ctrl key and left-clicking wherever you want a # character to appear. Every line where you place your cursor will have a comment added to it.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the length of your largest python code? Can you please describe the project?

1133


How do I download a file over http using python?

926


What is the use of assertions in python?

1176


What is the best notepad?

890


What is the process to get the home directory using ‘~' in python?

1015


How do I list all files of a directory?

937


What is the biggest challenge facing your current job right now? What is your biggest failure?

873


Is there a way to remove the last object from a list?

1007


How would you display a file’s contents in reversed order?

937


How do you check if a list is empty in python?

955


Tell me what are different methods to copy an object in python?

1023


Explain the inheritance in python with an example?

985


How to read a 10gb (or larger) file size in python?

893


list some of the data science libraries in python

947


How do you write if else in python?

1046