2016-08-24から1日間の記事一覧
open(filename,mode) mode(省略した時にrとして処理される) w:write r:read テキストファイルを実行しようとするコードと同じフォルダーに置く built-in functions \n :newline 改行 改行もstringの1として数えられる stuff="x\n y" print stuff x y len(s…
open(filename,mode) mode(省略した時にrとして処理される) w:write r:read テキストファイルを実行しようとするコードと同じフォルダーに置く built-in functions \n :newline 改行 改行もstringの1として数えられる stuff="x\n y" print stuff x y len(s…