セクション 1. 章 6
single
Addition
メニューを表示するにはスワイプしてください
Python provides arithmetic operators that allow us to perform arithmetic operations. The following include arithmetic operations in Python, along with their meaning:
First, let's take a look at how the numbers are added.
Input:
num_1 = 5
num_2 = 34.5
sum = num_1 + num_2
print(f'The sum of {num_1} and {num_2} is {sum}')
Output:
The sum of 5 and 34.5 is 39.5
Now it's your turn to test your strength.
タスク
スワイプしてコーディングを開始
You have 2 integers, add them.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 6
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください