学年

質問の種類

英語 中学生

英語の長文読解です。ベストアンサーさせていただきます🙇 (6)の問題ですが、私はreturnsだと考えましたが答えはrepeatsでした。 repeatという単語のほうが良いというのは分かっていて、理解もしていますが、returnだとどのようなところがだめなのか教えていただ... 続きを読む

3 次の英文を読んで 問い (1)~(20)に答えなさい。 *Periodical cicadas are ①" (see) only in America. They live in groups like families. Every group has a different *life cycle and stays in the same area for life. There are 15 different groups. Most of them are on a 17-year *cycle. However, three groups have a 13-year cycle. underground. When these cicadas become *adults, they appear above ground to *mate. Soon after mating and Most of their lives are spent deep go up to the earth's surface and *laying eggs, they die. Periodical cicadas are one of the *noisiest *insects on earth. The reason for this is that *inales *call out to the *females during mating season. Each male tries to call *louder than others. After mating, one female can lay about 600 eggs in trees. When the eggs fall to the ground, baby cicadas are born. Soon after that, they go under the surface of the earth for food. They aig about 60 cm deep and stay underground until the spring of their 17th year. Then, they are able to mate. That spring, the young cicadas come to the surface and then shed their skins to become larger. This is called 6 molting. Molting changes them into adults which are able to fly around, mate, and lay eggs. But soon after mating and laying eggs, they die. The young cicadas dig into the earth and appear again another 17 years later. So, the cycle (r ) again. In 1970, one 17-year cycle group of periodical cicadas came to a university during the graduation ceremony. A famous musician was giving a speech at that time. Later, he (write) a song about the cicadas. They were so noisy, but he said they sang *beautifully. Cicadas in this group appeared again during 1987 and 2004 at that university. When periodical cicadas are in mating season, millions of them appear above ground. They appear in large numbers for two reasons. The first reason is that all of them cannot be eaten by birds and other insects. The second reason is that they can easily find and mate with other cicadas. 99% of their lives are spent underground. They can live above ground for only two weeks. They are one of the insects with the longest lives, but scientists don't understand Acicadas know it is the B to go up to the surface. (注) periodical cicada 周期ゼミ(一定の周期で大量発生するセミ) life cycle 生活環 (生物が世代ごとに繰り返す発生成長の過程) for life- most of ~~のほとんど cycle surface underground 地中で adult appear 姿を現す mate 交する lay ~を産む noisiest 「noisy (うるさい やかましい)」の最上級 insect male call out 呼びかける female louder 「loud (大声で、大きな音で)」 の比較殺 Shed one's skin 脱皮する beautifully 美しく dig #6 (1) ①と⑦の ( )内の語を適当な形に変えて, それぞれ1語で書きなさい。 ①( ) (

解決済み 回答数: 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