摘要: 第一题 moves = input() x, y = 0, 0 for move in moves: if move == "L": x -= 1 elif move == "R": x += 1 elif move == "U": y += 1 elif move == "D": y -= 1 i 阅读全文
posted @ 2023-04-16 18:01 淦丘比 阅读(84) 评论(0) 推荐(0) 编辑