def move_carriage(self, steps): """Shifts the carriage for decimal placement.""" new_pos = self.carriage_position + steps if 0 <= new_pos < self.num_columns: self.carriage_position = new_pos print(f"Carriage moved to position new_pos.") else: print("Carriage limit reached.")
# --- Demo of the Feature ---