Echo a number
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · このページには最新のブラウザ(SharedArrayBuffer対応)が必要です。Chrome、Edge、Firefox、Safariを最新バージョンに更新してください。
This one builds on a lesson you haven't finished yet. Do that lesson first: · これはまだ完了していないレッスンの先にある内容です。まずはそのレッスンを済ませてください:
Python Basics · Getting input · 入力の取得 →
Echo a number
Read a line with input() and print the same thing back.
When you press Run, type a number in the highlighted box and press Enter. Check answer types 42 for you.
Read a line with input() and print it back. For 42, show 42.
Click Run to see the output here. · 実行ボタンをクリックして出力を確認してください。