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

Pyyhkäise näyttääksesi valikon

book
Simple Math: Add & Subtract

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

  • Addition (+)
  • Subtraction (-)
  • Multiplication (*)
  • Division (/)
Tehtävä

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

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 3
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

Awesome!

Completion rate improved to 2.17

book
Simple Math: Add & Subtract

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

  • Addition (+)
  • Subtraction (-)
  • Multiplication (*)
  • Division (/)
Tehtävä

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

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

close

Awesome!

Completion rate improved to 2.17

Pyyhkäise näyttääksesi valikon

some-alt