acokikoy's notes

{"勉強中":"Python","注目":"Shopify","LOVE♡":["ABARTH595","TA-GG9","Ukulele","Movable Type","ガーナ ミルクチョコレート"]} なWebディレクター

残課題あり

毎朝Codewars@2019.07.04(木): Change your Points of View

毎朝ちびちびCodewars。 Change your Points of View [6級] www.codewars.com 今日のお題: """ 次の4つの関数を定義する。 point(x, y) は、座標(x, y) の情報を含んだ callable な関数を返す。 def point(x, y): return lambda ... callable(point(3,4)) -…

毎朝Codewars@2019.06.10(月): Find the missing letter

毎朝ちびちびCodewars。 Find the missing letter [6級] www.codewars.com 引き続き、レベルを下げて脊髄反射を鍛える系チャレンジで数をこなす (`ω´)キリッ。 今日のお題: """ 与文字列は連続したアルファベットからなるリストだが1文字抜けがある。その文…

毎朝Codewars@2019.05.28(火): Unique In Order

毎朝ちびちびCodewars。 Unique In Order [6級] www.codewars.com 今日のお題: """ unique_in_order(iterable) 与えられた文字列から、隣同士同じ文字を取り除いて、 残りを文字のリストで返す。ただし、文字の並び順は変えない。 例: unique_in_order('AA…

毎朝Codewars@2019.05.18(金): Sat Nav directions

毎朝ちびちびCodewars。 Sat Nav directions [5 kyu] www.codewars.com 今日のお題: """ sat_nav(directions) 東西南北に、1Kmごとの格子状に広がる道路がある。 スタート地点 座標[0,0] からナビゲーションの指示に従って進み、最終到達点の座標返す。 開…

毎朝Codewars@2019.04.30(火): Gap in Primes

毎朝ちびちびCodewars。 Gap in Primes [5級] www.codewars.com 今日のお題: """ m以上 n以下の素数で、隣の素数との差がgである最小の組み合わせ[P(i), P(i+1)]を返す Args: g (int >= 2): m (int > 2): 対象範囲の開始値(mを含む) n (int >= m): 対象範…