Flutter / Dart Dart Listで使えるメソッド集 dartPadで動きを確認して見てください! method for() var people = ; for(var person in people){ print(person); }; or ... 2020.04.09 Flutter / Dart
Flutter / Dart Flutter BoxDecoration でグラデーション class MyWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Container( ... 2020.04.08 Flutter / Dart
colaboratory Python Tutorial Excelから必要な値を取得!Colaboratory & GoogleDrive 1日3分で学ぶPythonの 1 〜 11 まで完了してたらできるはず。。 設定 商品名と売り上げ金額が入ったシートから、700,000円以上の売り上げの商品と金額を取り出し、新しいシートに書き込む。 Excelファイル... 2020.03.29 colaboratoryPython
colaboratory 1日3分で学ぶ Python入門⑪ Excelファイルの操作 GoogleDrive Colaboratory を使用して、Excelファイルを操作します。 必要なモジュールをインポート import openpyxl Driveにアップロードしたファイルを読み込み Driv... 2020.03.29 colaboratoryPython
colaboratory 1日3分で学ぶ Python入門⑩ while文 で繰り返す 0 から10まで出力してみる count = 0 while count <= 10: print(count) count += 1 # 出力結果 # 0 1 2 3 4 5 6 ... 2020.03.28 colaboratoryPython
colaboratory 1日3分で学ぶ Python入門⑨ if文 <真偽値(ブーリアン型)と in, not> 真偽値 真偽値とは「真理値」のこと。用語の中身としては「そうだよ!(真:true)」か「違うよ!(偽:false)」のどちらかが入ってますよ!な値のことです。「分かりそう」で「分からない」でも「分かった」気になれるIT用語辞典さんよ... 2020.03.27 colaboratoryPython
colaboratory 1日3分で学ぶ Python入門⑧ if文 (条件分岐)と比較演算子 比較演算子 == a == b aとbが等しい != a != b aとbは等しくない > a > b aはbより大きい >= a >= b aはb以上 < a < b bはaより大きい <= a <= b ... 2020.03.27 colaboratoryPython
colaboratory 1日3分で学ぶ Python入門⑦ 辞書型 (dict) 辞書方は、{ } で囲い生成し、key と value のセットで登録。 書き方 member_age = {'Mike': 18, 'Kate': 22, '安田': 30} print(member_age) # 出力結... 2020.03.27 colaboratoryPython
colaboratory 1日3分で学ぶ Python入門⑥ タプル型 (tuple) タプルはリストと似ているが、中身の変更ができない。 書き方 その1 number = (10, 20, 30, 40, 50) print(number) # 出力結果 # (10, 20, 30, 40, 50) ... 2020.03.27 colaboratoryPython
colaboratory 1日3分で学ぶ Python入門⑤ リスト型 (list)の操作 中身を書き換える インデックス番号で classmate = ["やすし", "たけし", "サザエ", "まる子"] print(classmate) # プリント結果 ['やすし', 'たけし', 'サザエ... 2020.03.26 colaboratoryPython