Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Simple Math: Multiply & Divide | Getting Started
Introduction to Python (copy)
course content

Kursusindhold

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: Multiply & Divide

Opgave

Swipe to start coding

Complete and output the arithmetic operations below

  • Multiply the price of peanut butter (7.32) and the tax rate (0.2) to calculate the tax value. Use * operator
  • Divide price of eggs (8.30) and the number of eggs (20) to calculate the price of single egg. Use / operator

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 4
toggle bottom row

book
Simple Math: Multiply & Divide

Opgave

Swipe to start coding

Complete and output the arithmetic operations below

  • Multiply the price of peanut butter (7.32) and the tax rate (0.2) to calculate the tax value. Use * operator
  • Divide price of eggs (8.30) and the number of eggs (20) to calculate the price of single egg. Use / operator

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 4
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt