Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Simple Math: Add & Subtract | Getting Started
Introduction to Python (copy)
course content

Contenuti del Corso

Introduction to Python (copy)

Introduction to Python (copy)

1. Getting Started
2. Variables and Types
3. Conditional Statements
4. Other Data Types
5. Loops
6. Functions

book
Simple Math: Add & Subtract

Python makes math operations simple and powerful. Use the following basic arithmetic operators:

  • Addition (+)
  • Subtraction (-)
  • Multiplication (*)
  • Division (/)
Compito

Swipe to start coding

Complete and output the arithmetic operations below

  • Add the price of milk (5.42) and the price of bread (4.39). Use + operator
  • Subtract the price of all items in the shopping cart (12.30) and value of gift card (5.50). Use - operator

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!

Sezione 1. Capitolo 3
toggle bottom row

book
Simple Math: Add & Subtract

Python makes math operations simple and powerful. Use the following basic arithmetic operators:

  • Addition (+)
  • Subtraction (-)
  • Multiplication (*)
  • Division (/)
Compito

Swipe to start coding

Complete and output the arithmetic operations below

  • Add the price of milk (5.42) and the price of bread (4.39). Use + operator
  • Subtract the price of all items in the shopping cart (12.30) and value of gift card (5.50). Use - operator

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!

Sezione 1. Capitolo 3
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt