学年

質問の種類

情報:IT 高校生

教えて欲しいです🙇‍♀️🙇‍♀️🙇‍♀️🙇‍♀️🙇‍♀️

番氏名 · Question33 変数にデータを入れるとき、 [] (括弧)にまとめて代入し、リスト(配列) として定義することが できます。 変数の大きさを知りたい場合には、 len() を使います。また、リストはリスト内の値を入 れるといった処理も行えます。 リスト 書式 説明 len(). 書式 説明 6 変数の値の交換! 書式 変数1, 変数2 = 変数2, 変数 1 説明 年 変数 = [データ 1, データ 2, データ 3, …] 1つの変数の中に、 複数の数値や、 複数の文字列を格納するときの書き方。 文字列を格納す る場合には、各データをダブルクォーテーションやシングルクォーテーションで囲む必要が ある。 格納されたデータの一つ一つは要素と呼ばれる。 組 la = [5,8,4,3,6,9,2,1,7] print (a) #並べ替える前のリスト 3b = 4 for i in range(b): 5 c=i for j in range (i + 1,b): if a[c] > a[j]: (大きさの知りたい変数) 変数=len リストならデータの個数を知る。 結果は普通、 別の変数に格納する。 変数なら文字列、 変数の値を変数2に、 変数2の値を変数に入れ替える書き方。 リスト内のデータを比較して並べ替える操作を「選択ソート」 という。以下のプログラムの空欄を埋めて、選択ソートでリスト 内の9つの数字を昇順に並べ替えるプログラムを作りなさい。 1.olleHond T (#の文は入力しない) (ファイル名は「出席番号 93 名前」 で保存すること) 8 9 a[i], a[c] = 10 print (a) #並べ替えた後のリスト 実行例 [5, 8, 4,3, 6, 9, 2, 1,7] [1,2,3,4,5,6,7,8,9] リスト作成 Aceptos 開始 長さ判定 入替処理 リストの作成 リストαの表示 リストの個数 繰り返し (0からbの数まで ci の値 繰り返し (i+1 から b の数まで) a[c]> a[j] Yes c←jの値 繰り返し | a[i] と a[c] の値を交換 繰り返し リストの表示 終了 No.

回答募集中 回答数: 0
情報: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の場合にかかる重力ってなんですか。

第四問ばねに加わる力の大きさと、ばねののびとの関係について調べた実験I,Iについて,あ との1~5の問いに答えなさい。 ただし、質量100gの物体にはたらく重力の大きさを1Nとし,ば ねの質量や力学台車にはたらく摩擦は考えないものとします。 30cm/ 〔実験Ⅰ〕 ① 図1のように、長さが10.0cmのばねAを, スタンドに固定したつり棒につり下げた。 [2] ばねの下端に質量が50gのおもりを1個ずつつるしていき、つるすおもりを増やすたびに, ばねAとおもりが静止した状態で, ばねAののびをものさしで測定した。 3 ばねAを,長さが10.0cmのばねBにかえ、②と同様にして、ばねBののびを測定した。 4 2と3の結果をもとに, ばねAとばねBのそれぞれについて ばねに加わる力の大きさと ばねののびとの関係をグラフにまとめたところ、図2のようになった。 図 1 図2 つり棒 ばねA PPTTTTTTTTTTTTT 力学台車 a 13.0cm 50cv 10.0cm ばねA(B) ものさし スタンド 3~ 40cm 500g 22.0 cm 〔実験Ⅱ ] 1 図3のように, 水平な台の上に置いた斜面上に質量が500gの力学台車aを置き, 実験1で 使用したばねAをつないで斜面に沿って上向きに引き, 力学台車aを斜面上に静止させたと き, ばねAの長さは13.0cmであった。 図4のように, 水平な台の上に置いた, 1 と同じ傾きの斜面上に質量が1000gの力学台車 b を置き, 実験I で使用したばねBをつないで斜面に沿って上向きに引き, 力学台車b を斜面上 に静止させたとき, ばねBの長さは12.4cmであった。 図3 図 4 2.5Nで1cm 3 @ 1008 + 2²/2/20 ナ 3.0 Ford 90.6N 1.0 0 1.0 斜面 2.0 ばねに加わる 力の大きさ [N] 30cm 水平な台 ばねA ばねB 3.0 ばねB (6N) 124cm 力学台車 b- ×24 ~Bring x 1/2/3/ 8200g× J 1000g x26 S 40cm 1.2N 斜面 水平

未解決 回答数: 1
英語 高校生

(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