情報:IT 高校生 3年以上前 1〜4のどの数字を入れても「1〜4から選んでね」となってしまうのですがどうしたら良いですか? L マイドライブ Google ドライブ !!! Q {x} <> 因 X co if文.ipynb-Colaboratory colab.research.google.com/drive/1-CVySK6w2m4etCEzA_q32dDaKVELdqD1#scrollTo=JA3uY4XW9gYT if文.ipynb ファイル 編集 表示 挿入 ランタイム ツール ヘルプ すべての変更を保存しました + コード + テキスト 5は121の約数ではありませんが55の約数です。 1 print('心理テスト') 2 print('あなたの隠れた本性が分かる \n') 3 4 print('Q 「秋」 と言えば、 何?') 5 print('1 スポーツ') 6 print('2 読書 ') 7 print('3 食欲') X + 8 print('4 芸術') 9 ans=input('1~4から選ぶ') 10 print('*********** 11 12 if ans==1: 13 print('「スポーツ」 を選んだあなたは、 好奇心旺盛な人気者') 14 elif ans==2: 15 print('「読書」 を選んだあなたは、 クールな博愛主義者') 16 elif ans==3: 心理テスト あなたの隠れた本性が分かる 17 print(' 「食欲」 を選んだあなたは、正直者でマイペース') 18 elif ans==4: 19 print('「芸術」を選んだあなたは、感受性が強いアーティスト') 20 else: 21 print('1~4から選んでね') Q 「秋」 と言えば、 何? 1スポーツ 2 読書 3 食欲 4 芸術 1~4から選ぶ ************') 実行 (2秒) Cell raw_input()> _input_request() > select( コメント RAM *** ディスク ↑ Q 共有 → 日 編集 ● ■ ⠀ ・・・ ⠀ × 解決済み 回答数: 1
情報:IT 高校生 3年以上前 情報のプログラミングの問題です。 真ん中の問題の解説をお願いしたいです。 解答するプログラム image ブログラム解答欄 Kimg usrc="https://ova.ed.jp/test/gazon.jpg > 3/2 【HTML] ● back grou CSS 】タグ名のフルスペル 【問題3】 複数行のテキスト入力を受け取る入力欄を表示するプログラムを解答せよ。 解答するプログラムはどちらであるか? 【HTML CSS 】 プログラム解答欄 1 ● 解答するプログラムはどちらであるか? プログラム解答欄 h1 { backgroundicolor:#000000;} を解答 ● 【問題4】 hlタグに対して、 背景の色を黒色にするプログラムを解答せよ。 ただし、色は16進数で表記すること。 【HTML CSS 】 2 1/3 </ 【問 HT 1千 2行 3行 4行 5行 6行 7行 8行 92 解決済み 回答数: 1
情報:IT 高校生 3年以上前 黄色で千を引いたところは0からkokugoの要素数4になるまで1ずつという意味ですが、これは4の時もループは続きますか? Q.12 Kokugo a C = [ 15, 25, 32, 42) : b for if if = int (input (1) "No" print (b) in range a = = int ( lokugo [c]) : b Yes (o, len (kobugo), 17: C 0 1 2 15 25 32 42 2010 Tab b Yes Yes Yes b. No. 解決済み 回答数: 1
情報:IT 高校生 3年以上前 このプログラムの解説を教えてほしいです🙇🏻♀️ a=input() list=a.split(", ") ans=0 for i in range (len (list)): ans=ans + int(list[i]) print (ans/len(list)) 解決済み 回答数: 1
数学 高校生 3年以上前 ルートについて質問です。ピンクで線を引いたとこについて質問で、なぜ急に±がついたのかの理由をゆっくり教えて欲しいです😭 Functron X w + ton svietni bris 19 dtod ni egne bris nismob on en grapr Determine algebraically whether the relation rep a. x² + y² = 8 * solve for output variable (y) y == 8-²x² z f 21 y = ± √√8-x²² y= The relation is not a function of x because there is at least I input that produces 2 outputs. Zinterpret ble √8x² or y=-√√8x² く 解決済み 回答数: 2
英語 高校生 3年以上前 ②になる理由を教えてくださいm(*_ _)m (10) It is time to put an Dend Daction 3option ) to the old way of thinking. ( input 解決済み 回答数: 1
英語 高校生 4年弱前 日本語訳を、お願いします🙇♀️ :復習 Unit 5 INPUT | ディクテーション | INPUT 問1 W: What ( shall ) we do next? Do you want ( to ) ( or the koalas? M: I feel ( tired ). Let's take ( a )( rest ). )( W: OK.( M: Good How about )( getting) some ice cream? idea )! See MM ►CD 17 ) the monkeys 未解決 回答数: 1
英語 高校生 4年弱前 日本語にしたらどんな文章になりますか? 😭 S INPUT | ディクテーション | INPUT 問1 ► CD 25 M: How did you ( do ) on ( today )(wath ) test? W:( Not :) ( too ) bad. ( How )(about) you? M: I didn't do too (well). I know I gave some ( Wrong) (answers. W: Let me help you (prepares for the next one. 問2. ►CD 26 W: That was a ( long ) presentation. I'm tired). M: I think it went (pretty ) well. W: I guess ) so, too. There were a lot of questions from M: That means ) they were the audience. interested in our products. 回答募集中 回答数: 0
英語 高校生 4年弱前 これらを全て日本語にしたらどんな文章になりますか? INPUT 問1 W: What ( shall or the koalas? ) we do next? Do you want ( tired). Let's take ( a M: I feel ( W: OK.( How about )( getting M: Good ( ideo)! 問2 M: Is everything ( prepared) for the party? W: Yes. But ( I ( get get (Some )? M: OK. I'll go to the (Supermar) ) after I've ( picked) ( up after I've ( (other) cake. ket W: Thanks. to )( see "(think ) ( rest ). ►CD 17 ) the monkeys ►CD 18 ) some ice cream? ) we need more ( drinks). Can you up )( the ) 回答募集中 回答数: 0
情報 大学生・専門学校生・社会人 4年弱前 このc言語のプログラミングがどうしてもわからないのでどなたか教えてください。 0から9までの任意の数を入力させた後、1から100 までの数字を10行10列で出力するプ ログラムを作成せよ。 ただし、入力値が位に含まれている数字は実行例のとおり表示されな いようにすること。 また、 0~9以外の数が入力された場合は再入力させること。 <実行例1> Input Number (0~9):-1 Input Number (0~9):10 Input Number (0~9):7 1 2 3 4 5 6 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 58 59 60 61 62 63 64 65 66 68 69 180 81 82 83 84 85 86 88 89 90 91 92 93 94 95 96 98 99100 <実行例2> Input Number (0~9):1 2 3 4 5 6 7 8 9 20 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 58 59 60 62 63 64 65 66 67 68 69 70 72 73 74 75 76 77 78 79 80 82 83 84 85 86 87 88 89 90 92 93 94 95 96 97 98 99 <実行例3> Input Number (0~9):0 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 47 48 49 51 52 53 54 55 56 57 58 59 61 62 63 64 65 66 67 68 69 71 72 73 74 75 76 77 78 79 81 82 83 84 85 86 87 88 89 91 92 93 94 95 96 97 98 99 回答募集中 回答数: 0