Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Rename the turtle.
- print('The current name is ' + os.getComputerLabel())
- print('Enter the new name:')
- local newName = input()
- os.setComputerLabel(newName)
- print('The new name is ' + os.getComputerLabel())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement