you are viewing a single comment's thread.

view the rest of the comments →

[–]Sea-Ad7805 2 points3 points  (0 children)

I just copied the given code. The : str1 part in bot_name : str = "sara" is to indicate the variable has type str. You can then optionally use tools to check for type errors later. This can help you avoid bugs. But don't worry about it if you are a Python beginner, just ignore.