回答

https://www.try-it.jp/chapters-8001/sections-8148/lessons-8152/practice-2/

トライイットのリンクです
これをみるとわかるかもしれません

この回答にコメントする
疑問は解決しましたか?