2020-05-15から1日間の記事一覧

python listの要素を削除

こんにちは。ちゃあ少佐です。 python 学習4日目 ☆Listから要素を削除 language = ["Python", "Ruby", "PHP", "Java"] language.pop() ※何も指定しない場合末尾の要素が削除される※ print(language) 結果 ["Python", "Ruby", "PHP"] language = ["Python", "…

VBA for文で繰り返し処理を行う

VBA

こんにちは。ちゃあ少佐です。 VBA 学習4日目 ☆for文で繰り返し処理☆ Dim 変数 For 変数=初期値 To 最大値 ~繰り返し処理を記述 ~Next 変数 ex) Dim i For i = 1 To 12 Cells(i, 1) = i & "月" 'i行目・1列目のセルに各月を入力’ Next i 結果 A列 1月 2月 3…

ansible ios&nxosでshowコマンドを打つ

こんにちは。ちゃあ少佐です。 ansible 学習4日目 ☆ios show command☆ - name: run multiple commands on remote nodes ios_command: commands: - show version - show interfaces ☆nxos show command☆- name: run multiple commands on remote nodes nxos_c…