Notas
Hello Word
Conteúdo das notas (1)
Página 1
Introdução
PythonPython is a programming language. Like other languages, it gives us a way to communicate ideas. In the case of a programming language, these ideas are “commands” that people use to communicate with a computer!é uma linguagem de programação. Como outras línguas, ela nos dá uma maneira de comunicar ideias. No caso de uma linguagem de programação, essas ideias são “comandos” que as pessoas usam para se comunicar com um computador!
We convey our commands to the computer by writing them in a text file using a programming language. These files are called programs. Running a program means telling a computer to read the text file, translate it to the set of operations that it understands, and perform those actions.
my_name = "Larissa"
print("Hello and welcome " + my_name + "!")
# No Python, o símbolo # é responsável pela adição de comentários
Now what we’re going to do is teach our computer to communicate. The gift of speech is valuable: a computer can answer many questions we have about “how” or “why” or “what” it is doing. In Python, the print() function is used to tell a computer to talk. The message to be printed should be surrounded by quotes:
Informações
- Descrição
- Técnico Python Notas sobre Hello Word, criado por Larissa Conceição em 07-02-2023.
- Criado por
- Larissa Conceição · fev 2023
- Atualizado
- 7 fev 2023
- Visualizações
- 0
- Avaliação