Grade

Type of questions

IT Senior High

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

番氏名 · 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.

Waiting for Answers Answers: 0
IT Senior High

課題でこれで成績がついてしまいます💦教えて欲しいです💦🙇‍♀️🙇‍♀️🙇‍♀️🙇‍♀️🙇‍♀️

■アルゴリズムとプログラミング (課題) 以下の課題に取り組み、 作成したファイルをデスクトップに保存し、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. よくわかりませ

Waiting Answers: 1
IT Senior High

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

■アルゴリズムとプログラミング (課題) 以下の課題に取り組み、 作成したファイルをデスクトップに保存し、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. よくわかりませ

Waiting for Answers Answers: 0
English Junior High

③はat first になるんですけどどうやってとけばいいんでしょうか?なにか方法があれば教えて欲しいです

結化(Yuka), リリ 九里(M. Greenの英語の授業で発表を行いました。 発表を聞いたクリー ン先生は, 結花さんの発表についてコメントを書きました。 【 結花さんの発表】 【グリーン先生のコメント を読んで,後の1から8までの各問いに答えなさい。 sog vin 【結花さんの発表】 He Many people in Shiga have worked as volunteers. My grandfather is one of them. worked as a junior high school math teacher for many years and retired five years ago. He has worked as a volunteer at the community center since then. Many children go there to play and study together after school and on weekends. He helps them ( 1 ) every day. He always says that working for other people makes him happy. His words made me interested in volunteer work. bon OR I became a high school student and wanted to try something new. So I did volunteer work at the community center this summer. Now, I will talk about my experiences. I hope my speech will give you a chance to think about volunteer work. During summer vacation, I visited the community center. The community center 【used / many /is/ people/byl living in my city. And the volunteers do a variety of work. My first volunteer work was to take care of elderly people. I played some games and talked with them in the morning. Mr. Sato, one of the elderly men, said to me, "I had a good time today. I live alone and don't have so many chances to talk to other people, especially to young people like you. So I enjoyed talking with you." I was happy to hear that. In the afternoon, I saw a little foreign girl in the playroom. She was drawing a picture alone. ), I hesitated to talk to her because of my English. Then I remembered Mr. Sato's words. So I went to the girl and said, "Hi, I'm Yuka. You are good at drawing pictures. [4]" She smiled and showed me her picture. Then she said, "I will give this picture to my Japanese friend for her birthday. I want to write 'Happy Birthday!' in Japanese on the picture. Can you teach me how to write it?" I was glad to hear that. I taught her how to write it in hiragana. She practiced many times and looked very happy when she saw the picture after she finally finished 5[write] her message in Japanese. Then she said to me, "Thank you for helping me!" Her big smile made me very happy. These experiences reminded me of my grandfather's words. Before doing volunteer work, I thought that helping other people was to make them happy. However, I realized that helping other people made me happy,) too. So we can [ 6 ]. Now I'm looking forward to doing volunteer work again during spring vacation. Thank you for listening. (注) volunteer(s): ボランティアをする人 retire: 退職する community center: E play : 遊ぶ hesitate : ためらう chance : playroom: 【グリーン先生のコメント】 Your speech was great. I'm glad that you learned an important thing. I do volunteer work, too. I visit the city library every Saturday. I help foreign people there. Some foreign people don't understand Japanese. So I help them borrow books. Do you like to read books? The staff members are looking for someone who can read books to children. If you are interested, why don't we visit it together this Saturday?

Waiting Answers: 1