Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Simple Math: Add & Subtract | Getting Started
/
Introduction to Python (generated task tests)
セクション 1.  3
single

single

bookSimple Math: Add & Subtract

メニューを表示するにはスワイプしてください

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

  • Addition (+)
  • Subtraction (-)
  • Multiplication (*)
  • Division (/)
タスク

スワイプしてコーディングを開始

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

Requirements checklist

  1. Check that the sum of 5.42 and 4.39 is printed, allowing for floating point tolerance.
  2. Check that the result of subtracting 5.50 from 12.30 is printed, allowing for floating point tolerance.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  3
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt