学年

質問の種類

情報:IT 高校生

教えてください😭😭😭😭😭😭

情報 Ⅰ ・Question ④ 「何らかの仕事を実現する処理の並びを一つにまとめて名前を付けたもの」 を関数といいます。 数は、値を渡したり戻したりできるのが特徴で、 関数に与える文字や数字を「引数」。返される値を 「戻り値」 といいます。 また、 もともとの主なプログラムをメインルーチン。 関数をサブルーチンと いいます。 関数 書式 234 def 関数名(引数1, 引数2, ….....): ロロロロ処理 | ロロロロ処理 2 0000 return 戻り値 説明 関数を定義する。インデントした範囲内がひとまとまりの関数と見なされる。 関数を呼び出す ときに同時に値を関数に渡したときは、引数の部分で受け取り、関数内部で使う。 関数内で 理した結果や何らかの値を呼び出し側に通知する場合は、 return に続けて値や計算式などを 記述する。 次のプログラムは、実行者の名前をメインルーチンで入力させて、それを関数に渡して挨拶と一緒 に表示するプログラムです。 1 def aisatu(a): 2 3 print (a, "Hello!") return 4 5 print("これから英語で挨拶します") 6 b = aisatu(input("Please name :")) 7 aisatu(b) 8 print("どうでしたか? ") 1 def aisatu (a): 上記のプログラムでは、挨拶の表示処理を関数側に行わせていましたが、値を戻してメインルーチ ンで行わせることもできます。 上記のプログラムをもとに、以下の空欄を埋めて、 プログラムを作り なさい。 (実行例は上記と同じ) (ファイル名は「出席番号 94 名前」 で保存すること) a= return 実行例 これから英語で挨拶します Please name: Taro Taro Hello ! どうでしたか? 5 print("これから英語で挨拶します") 6 b=input("Please name :") 7 print( 8 print("どうでしたか? ") 開始 「これから英語で挨拶 します」 と表示 名前を入力させる →関数に渡す aisatu 関数 戻り値を 受け取って表示 「どうでしたか?」 と表示 関数定義 終了 CITIO aisatu 関数開始 ← 受け取った引数 atak 「Hello!」を合体 a を戻り値 aisatu 関数終了

回答募集中 回答数: 0
英語 中学生

答えをなくしちゃって、、、、、 どなたか回答お願いします。

にする英語を書き、思い出の ① トリル □入学式 -entrance ceremony ① 私は新入生です。 ② 佐藤先生は親切です。 ③ 小学校では徒歩通学でしたが、中学校では自転 車通学をしています。 ⑤ 私は速く走ることができます。 ⑥ 私のクラスは強いチームで有名です。 ⑦ その試合はとてもわくわくしました。 ⑧ 私たちは3試合しました。 ⑨ 私たちはすべての試合に勝ちました! ① 私たちは英語の歌を歌いました。 私は一生懸命に練習しました。 私たちはいっしょに映画を作りました。 その上演はすばらしかったです! 私たちはすばらしい時を過ごしました。 ①I 2 Mr. Sato 31 go to junior high school 運動会 スポーツ大会 - sports day ④ 今年は9月20日に運動会がありました。 4 We September 20 this year. ⑤ Icon fast. □文化祭 学校祭 school festival 私たちの学校は11月に文化祭があります。 - ⑥ Our closs is ⑦ The game ⑧ We played We □好きなもの my favorite things ⑩ 私はマンガとアニメが好きです。 ①7 私の大好きな教科は数学です。 私はテニスが大好きです。 to elementary school, but now Ⅰ Our school 17 My 18 I melementary school 小学校 student. a sports day November. ① We sang* a song in 12 I 13 We ⑩ The performance 15 We for our strong very games. 0 the games! #fast 速く class クラス very hard. a movie a school festival sang sing の過去形 hard 一生懸命に manga and anime. subject is math. tennis very

解決済み 回答数: 4
情報:IT 高校生

期末課題なのですがテストが無い分これで成績が決まってしまうのですが全く分かりません💦教えて欲しいです

■アルゴリズムとプログラミング (課題) 以下の課題に取り組み、 作成したファイルをデスクトップに保存し、PCの「課題提出全日制」 → 「2学年」 「自分のクラスのフォルダー」→「問題番号に対応したフォルダー」にドラッグアンド ドロップして提出しなさい。 (作成できたファイルのみ提出すること) ・Question ① マウスの移動量を表す単位で 「ミッキー」というものがある。 | ミッキーあたり0.254mm(ミリ メートル) である。 以下のプログラムの空欄を埋めて、キーボードからマウスの移動量をミッキーで 入力されたら、 cm (センチメートル) で表示されるプログラムを作りなさい。 (ファイル名は 「出席番号 q1 名前」 で保存すること) 1 a = float(input("マウスを何ミッキー動かしましたか?>")) 2b = 3. print("あなたは", b, "センチメートル動かしました。 ") 実行例 マウスを何ミッキー動かしましたか? >100 あなたは 2.54センチメートル動かしました。 • Question ② 製 以下のプログラムの空欄を埋めて、 「おはよう」, 「さよなら」 と言われたら挨拶を返すプログラム を作りなさい。 (ファイル名は「出席番号 92 名前」 で保存すること) 1 a=str(input("挨拶をしてください>")) 2 if a | "おはよう": print("コンピュータ:", a) "さよなら": print("コンピュータ:", a) 3 4 elifa 5 6 else: 7 実行例 挨拶をしてください > おはよう コンピュータ:おはよう print("コンピュータ:よくわかりません") 挨拶をしてください > さよなら コンピュータ: さよなら 挨拶をしてください > こんにちは コンピュータ: よくわかりません 開始 at 挨拶をしてください> aは "おはよう Yes おはよう 終了 No. は さよなら Yes さよなら No. よくわかりませ

回答募集中 回答数: 0
英語 高校生

(3)について答えはthese new types of cementまたはnew types of cement ですがthe new types of cement でも大丈夫ですか?

6 2019年度 英語 Ordinary Portland cement-t produced by baking lime in a kiln and emits approximately one ton of carb a kiln and emits Cement production is responsible for cement. dioxide for every ton of approximately 5% of global man-made CO2 emissions, according to the World Business Council for Sustainable Development. Cement does absorb some carbon dioxide back from the atmosphere over time, One 2016 study estimated that between 1930 and 2013, the equivalent of 43% of CO2 released from lime during heating was reabsorbed by - although that percentage does not include carbon concrete products worldwide dioxide emitted by the fossil fuels burned to heat kilns, a significant contributor of says. Fennell notes. 東京医科歯科大前駅 - the most common form in concrete- CO2 emissions during production. Unfortunately, this absorption comes at a price, particularly when cement is used in structures that feature steel reinforcement bars (rebar) within concrete. vl(As) CO₂ moves through cement it changes the pH of the surroundings, Fennell says. Concrete loses its alkalinity and, when moisture and oxygen are present, causes the rebar to rust. 2) ad "Rusting steel can expand with great force to as much as nine times its original dimensions if you add up all of the layers of iron oxide," says Randolph Langenbach, an international consultant in building conservation. This expansion causes the concrete to crack, flake and crumble. Svi aft ni adosband huma Degradation is a massive concern, he argues, and problems are not limited to rusting rebar. Everything from air pockets left in the concrete mix when it's laid to salt air buffeting coastal-facing walls, or the use of beach sand in the concrete, can shorten a building's lifespan. As one specialist once put it to Langenbach: "If it ain't cracked, it aint concrete."qubong ao yas guidtyns ogde stornos 90 s of fshoqml is vatns mash *** long llopsd lust ay to Given the concerns about the environmental impact and structural longevity of concrete, why do we continue to build with it? addi Simply put, concrete is cheap, versatile, quick to erect and requires no of weight J

未解決 回答数: 1