way1 class Directions: up = 0 down = 1 left = 2 right =3 print Directions.down. # way2 dirUp, dirDown, dirLeft, dirRight = range(4).
確定! 回上一頁