LoginSignup
0
0

Python演習問題_0【 お風呂と水(制御文) 】

Last updated at Posted at 2023-06-30

お風呂

水を入れる

お風呂に水を入れよう

image.png 合計△L入るお風呂に、毎分□Lの割合で水を入れる。
満タンになったら水を止めてもらう、素晴らしく便利なタイマーを作ろう。

出力

  1. お風呂の最大量を入力させる
  2. 毎分の水の量を入力させる
  3. 入水量を毎分置きに表示する
  4. お風呂が満水になったら3)が止まる

この順番で出力してみよう。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0