소스 검색

remove defaults absolute move

tBKwtWS 1 개월 전
부모
커밋
15512c8b78
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      karel_asset.py

+ 1 - 1
karel_asset.py

@@ -112,7 +112,7 @@ def orientation_move_asset(asset, direction, amount):
     return new_karel
 
 # Move a passed Karel to new coordinates
-def absolute_move_karel(asset, x:int=0, y:int=0):
+def absolute_move_karel(asset, x, y):
     # Update coordinates in list
     asset[1][1] = x
     asset[1][2] = y