Kursusindhold
Introduction to Python (copy)
Introduction to Python (copy)
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
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 4
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
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 4