学年

質問の種類

英語 高校生

27のitは何を指してますか おきものですか?

Chapter 5: Welcome to Costa Rica: 1 Good afternoon, 2 Have you ever heard of the country 3 called Costa Rica? It has a population of around five million 4 It's a small country in Central America. 5 und 6 and a land area roughly equal to 7 all of Shikoku and Kyushu. 8 In Costa Rica, 9 tourism is an important industry. 10 About three million people 11 visited the country in 2018. 12 Most were from neighboring countries 13 in North and Central America, 14 but the number of visitors 15 from Europe and Japan 16 has been increasing. 17 Costa Rica is 18 one of the most biodiverse countries 19 in the world. 20 It covers just 0.03% 21 of the Earth's land surface, 22 but it is home 23 to more than 500,000 species, 24 around 5% of the total species 25 worldwide. 26 You may wonder why. 27 It is due to the variety 28 of ecosystems and climate zones there, 29 Also important is the fact 30 that 25% of the country's land is used 31 for national parks and reserves, 32 The reason for this is simple: 33 it is to protect the environment, 34 I hope this makes you want An Invitation to Ecotourism こんにちは。 Part 1 2 みなさんは国のことを聞いたことがありますか 3 コスタリカと呼ばれているHD。 4 それは中央アメリカにある小さな国です。 5 人口はおよそ500万人です 6 そして国土面積(を持ちます) 7 四国と九州を合わせた面積とほぼ同じ(国土面積を)。 8 コスタリカでは 9 観光業が重要な産業です。 10 約300万人が 35 to visit our beautiful country and experience "ecotourism." 36 11 2018 年にはこの国を訪れました。 12 ほとんどは近隣の国からでした 13 北アメリカや中央アメリカの) 14 しかし観光客の数が 15 ヨーロッパや日本からの観光客の数が) 16 増えてきています。 17 コスタリカは 18 最も多様な生物がすむ国の1つです 19 世界で。 20 それは (コスタリカは) 0.03%しか占めていません 21 地球の陸地面積の 22 しかしそこは(コスタリカは) 生息地です 23 50万種を超える種の (生息地) 24 (つまり) 全ての種の約5% 25 世界中の. 26 みなさんはなぜだろうと思うかもしれません。 27 それは多様性によるものです 28 そこの生態系と気候帯の。 29 また重要なのは事実です 30 その国の陸地面積の25%が使われているという事 31 国立公園や保護区のために。 32 これの理由は簡単なことです 33 環境を守るためです。 34 私は,これによってみなさんに望んでほしい 35 私たちの美しい国を訪れることや 36 「エコツーリズム」 を経験することを。

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