約2件1ページ目
49分前 -... Pythonのスクリプトを動かすことも可能. プログラムで解析する ... Pythonでどんな感じで分析できそうかやってみた ... if height > max_height: max_height = height ...
34分前 -Generative AI applications present new challenges for maintaining data control, protection, and privacy. Join the Amazon Bedrock team in this lightning talk and ...
A.単に何かを書き間違えただけだと思いますよ ↓特に問題ない実行結果 >>> strlist = ['a¥nb¥nc','b¥nc¥nd', '...
A.多分、ifを使うにはelseも必要と勘違いされていませんか? elseの記述はあってもなくても動きますよ。仕様により適宜追加する形になります。
Q.pythonのif関数プログラムについての質問です。 入学したての大学生なので優しく教えてくださると嬉しいです。 【問題】 テストの点数を100点満点で入力させるように指示、1の位を切り上げた...
A.a = int(input("テストの点数は何点ですか?: ")) result = (a + 9) // 10 if result < 0: result = 0