Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Comments | Basics
Introduction to Data Analysis in Python
course content

Contenuti del Corso

Introduction to Data Analysis in Python

Introduction to Data Analysis in Python

1. Basics
2. Data Types
3. Control Flow
4. Functions and Modules
5. Introduction to NumPy

book
Comments

Comments in programming are parts of code that Python ignores. The primary purpose of using them is readability. It is a good practice to leave comments in your code with descriptions of what a particular part of code does.

In Python, the comment starts with the hash # sign. All the text right to the # will be ignored. For example, you may have two print() functions, but if you place # to the left of one of them, then only one text will be output.

12
print('String 1') #print('String 2')
copy
question mark

What symbol is used in Python to comment out?

Select the correct answer

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 3

Chieda ad AI

expand
ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

course content

Contenuti del Corso

Introduction to Data Analysis in Python

Introduction to Data Analysis in Python

1. Basics
2. Data Types
3. Control Flow
4. Functions and Modules
5. Introduction to NumPy

book
Comments

Comments in programming are parts of code that Python ignores. The primary purpose of using them is readability. It is a good practice to leave comments in your code with descriptions of what a particular part of code does.

In Python, the comment starts with the hash # sign. All the text right to the # will be ignored. For example, you may have two print() functions, but if you place # to the left of one of them, then only one text will be output.

12
print('String 1') #print('String 2')
copy
question mark

What symbol is used in Python to comment out?

Select the correct answer

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 3
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt