Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Perform Simple Math in Python | First Acquaintance with Python
Introduction to Python (dev copy)

bookPerform Simple Math in Python

Python excels at crunching numbers. It supports various mathematical operations, from basic arithmetic to complex calculations.

Use the print() function to display results. Mathematical expressions don’t require quotation marks ("..." or '...'), unlike text.

1234567891011
# Addition print(1039 + 948) # Subtraction print(10484 - 9274) # Multiplication print(116 * 99) # Division print(95873 / 472)
copy
Compito

Swipe to start coding

  1. Compute the following and print the outcomes:

    • 2580 added to 198.
    • 23 times 42.
    • 1512 divided by 27.

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 3
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

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

close

Awesome!

Completion rate improved to 1.64

bookPerform Simple Math in Python

Scorri per mostrare il menu

Python excels at crunching numbers. It supports various mathematical operations, from basic arithmetic to complex calculations.

Use the print() function to display results. Mathematical expressions don’t require quotation marks ("..." or '...'), unlike text.

1234567891011
# Addition print(1039 + 948) # Subtraction print(10484 - 9274) # Multiplication print(116 * 99) # Division print(95873 / 472)
copy
Compito

Swipe to start coding

  1. Compute the following and print the outcomes:

    • 2580 added to 198.
    • 23 times 42.
    • 1512 divided by 27.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

close

Awesome!

Completion rate improved to 1.64
Sezione 1. Capitolo 3
single

single

some-alt