学年

質問の種類

英語 高校生

教えてください🙇🏻‍♀️

[2] あるクラスでディベートが行われています。 (1)~(3)はディベートの前半戦, (4)(5)は後半戦における発言の (1) 一部です。 ディベートの流れを意識しながら, 進行役の先生のセリフ が流れよく成り立つよう、下線に当てはまるものを選択肢から選び, 記号で答えなさい。 [思・判・表] (2) (教科書 P.88~89, P.92~95 参照) (3) (1) Teacher Are you ready to start our class debate? (4) Our topic is here on the board: "Digital books are better than paper books." (5) Raise your hand if you have a reason to support for this statement. (2) Student A: With an eReader, we have access to all of the books that we own. We can read many on the train. We can't carry many books with us every day. Teacher: (3) Student B Paper books don't use electricity. It's important that we use as little electricity as possible to prevent global warming. Teacher: (5点x5) (4) Teacher: Next, we will refute the other side's opinions. Say which opinion you are refuting, give your refutation, then give an example. (5) Student C They said that digital books are convenient, but I don't think it's a big advantage. We don't always need all of our books with us. Just one book is enough. Teacher: [選択肢] J. Good idea. "Good for the environment." 5. Great. "Digital books are convenient." 1. Let's start with the affirmative side. I. Very good. "Not a significant advantage." *. Let's start with the negative side.

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

(5)についてです。 return 1とはどういうことですか?この場合kazuは5なので関係ないですか?

表示するに をひとまとまり する。 (kazu を指す。 8], [11, 0から ・参照す 値配 H ものを てい Foxr- を返す関数である。 (1) Tokuten [50, 40, (2) saidai 0 (3) bango=0 (4) 10から (5) (6) (7) ..(D), 35, 70] ① まで1ずつ増やしながら繰り返す もしTokuten [1] (2) saidaiならば! saidai Tokuten[i] bango- (日) 表示する(最高点 1 ', saidai, "出席番号 (イ) (エ) () (Tokuten) + (Tokuten) 1 < 素数 (Tokuten) (7) bango (ケ) (1)> bango + 1 -1 (カ 444 saidai 配 Takuten 要素を比較する (関数) 次のプログラムの(1)~(3),(5)5が,(4)12が入力された場合に「答え は」に続いて表示されるも def funcl (kazu): x = kekka=0 for i in range (1, kazu + 1): kekka = kekka + i return kekka int(input('正の整数を入力)) 8 print('答えは', func1 (x)) (3) 234 def func3 (kazu): pai = 3.14 (2) 1 kekka = 1 for i in range (kazu, 0, -1) def func2(kazu): 2 3 4 5 6 7 kekka = kekka * 1 return kekka x = int(input('正の整数を入力 8 print('答えは', func2 (x)) (4) return pai * kazu * kazu 3 15 x = float(input('正の数を入力) 6 print('答えは', func3(x)) def func4(kazu): kekka = [] for i in range(1, kazu if kazu i == 0: kekka.append(i 6 return kekka 7 14 15 (5) def func5(kazu): if kazu == 0: return 1 return kazu * func5 (kazu-1) 6 x = int(input('正の整数を入力リ) 7 print('答えは', func5(x)) 8 x = int(input('正の整数を入 9 print('答えは', func4(x)) input()の戻り値は文字列であ ため,(3)では float() を使って 小数点型に,そのほかは int( ) 数型に変換している。

解決済み 回答数: 1