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

Kursinnehåll

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

Uppgift

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 desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 4
toggle bottom row

book
Simple Math: Multiply & Divide

Uppgift

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 desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 4
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt