Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Підводимо Підсумки | Перше Знайомство
Вступ до Python
course content

Зміст курсу

Вступ до Python

Вступ до Python

1. Перше Знайомство
2. Змінні та Типи
4. Інші типи даних
5. Цикли
6. Функції

book
Підводимо Підсумки

Завдання

Swipe to start coding

  1. Print a title "Shopping Receipt" and a divider line (using -) with print().
  2. Print the price for the first item:
    • It is priced per weight at $162 per unit.
    • The customer bought 0.35 of it.
    • Calculate and print the total price for this item.
  3. Print the price for the second item:
    • Originally $25, but comes with a discount of $3.67.
    • Calculate and print the final price after the discount.
  4. Print the subtotal, tax (8%), and total price using print().

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 5
toggle bottom row

book
Підводимо Підсумки

Завдання

Swipe to start coding

  1. Print a title "Shopping Receipt" and a divider line (using -) with print().
  2. Print the price for the first item:
    • It is priced per weight at $162 per unit.
    • The customer bought 0.35 of it.
    • Calculate and print the total price for this item.
  3. Print the price for the second item:
    • Originally $25, but comes with a discount of $3.67.
    • Calculate and print the final price after the discount.
  4. Print the subtotal, tax (8%), and total price using print().

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 5
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt