python: TypeError: not enough arguments for format string

Share:
TypeError: not enough arguments for format string Pyton2: ```sh def a(x,y): print("%s : %s "%x,y) ``` Python3: ```sh def a(x,y): print("%s : %s "%(x,y)) ``` In FlexBe: ```sh def on_enter(self, userdata): Logger.loginfo("waypoint: [%.1f, %.1f]" % (self._pose.position.x, self._pose.position.y)) ``` cover

No comments