Conteúdo do Curso
Introduction to Python
3. Conditional Statements
Introduction to Python
Este curso está parecendo fácil demais?
Mergulhe na prática do mundo real com nosso curso focado em aplicação
Great job! Python excels at crunching numbers. The syntax is simple: use +
for addition, -
for subtraction, *
for multiplication, and /
for division. Remember to use the print()
function if you want to display the result. Unlike strings, mathematical expressions don't require quotation marks ("..."
or '...'
).
For instance, let's tackle some basic math:
Tarefa
Here's your assignment: compute the following and print the outcomes:
2580
added to198
.23
times42
.1512
divided by27
.
Tudo estava claro?
Conteúdo do Curso
Introduction to Python
3. Conditional Statements
Introduction to Python
Este curso está parecendo fácil demais?
Mergulhe na prática do mundo real com nosso curso focado em aplicação
Great job! Python excels at crunching numbers. The syntax is simple: use +
for addition, -
for subtraction, *
for multiplication, and /
for division. Remember to use the print()
function if you want to display the result. Unlike strings, mathematical expressions don't require quotation marks ("..."
or '...'
).
For instance, let's tackle some basic math:
Tarefa
Here's your assignment: compute the following and print the outcomes:
2580
added to198
.23
times42
.1512
divided by27
.
Tudo estava claro?