Python-Turn龟到右边

时间:2015-07-24 13:48:15

标签: python

有没有办法在Python中将turtle转到右边(向东),无论turtle面向哪个方向?

非常感谢任何帮助

1 个答案:

答案 0 :(得分:1)

在帮助页面func readTProgramNames() -> (Query){ let program = db["TProgram"] let icons = db["TIcons"] let programNameDB = Expression<String>("ProgramName") let programNameDBI = Expression<String>("ProgramName") let programPathDB = Expression<String>("ProgramPath") let all = program .select(program[programNameDB], program[programPathDB]) .join(.LeftOuter, icons, on: program[programNameDB] == icons[programNameDBI]) .filter(icons[programNameDBI] == "") .group(program[programNameDB]) let item = all.first! println(item[program[programNameDB]]) return all }

help(turtle)