Skip to content

Commit a05a7f0

Browse files
committed
Renamed variable
1 parent 3747515 commit a05a7f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

turtlebot4_python_tutorials/turtlebot4_python_tutorials/mail_delivery.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ def main(args=None):
6666

6767
while True:
6868
# Create a list of the goals for display
69-
options_text = 'Please enter the number corresponding to the desired robot goal position:\n'
69+
options_str = 'Please enter the number corresponding to the desired robot goal position:\n'
7070
for i in range(len(goal_options)):
71-
options_text += f' {i}. {goal_options[i]["name"]}\n'
71+
options_str += f' {i}. {goal_options[i]["name"]}\n'
7272

7373
# Prompt the user for the goal location
74-
raw_input = input(f'{options_text}Selection: ')
74+
raw_input = input(f'{options_str}Selection: ')
7575

7676
selected_index = 0
7777

0 commit comments

Comments
 (0)