Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre The Very First Steps in Python | Premier Contact avec Python
Introduction à Python
Section 1. Chapitre 1
single

single

The Very First Steps in Python

Glissez pour afficher le menu

Note
Definition

Python is a high-level programming language. High-level languages use abstract syntax that is easy for humans to understand but cannot be directly interpreted by machines.

Programming is the process of giving instructions to a computer to perform tasks, and Python is a popular language known for its simplicity and versatility. Let’s explore what makes Python unique.

Let's get started by printing your first message in Python! To do this, use the print() function. When printing specific text, wrap it in quotation marks, either "..." or '...'.

1
print("Some message")

You can also add more text by using a comma to separate different parts within the print() function. The function automatically adds a space between the arguments. Try experimenting with different messages to see how it works.

Tâche

Glissez pour commencer à coder

Print "Hello world!" in the console using the print statement.

  • Use the print statement.
  • Print "Hello world!" in the console.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 1
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

some-alt