gamelib.py
def input(self, prompt: str) -> Optional[str]:
        """
        Ask the user to enter a text value.

        Args:
            prompt: A message to display.

        Returns:
            A string containing the value that the user typed. `None` if the user
            clicked on Cancel instead of OK.
        """

        response = Queue()
        self.send_command_to_tk('input', prompt, response, notify=True)
        return response.get()

        Ask the user to enter a text value.

        Args:
            prompt: A message to display.

        Returns:
            A string containing the value that the user typed. `None` if the user
            clicked on Cancel instead of OK.
        
Ask the user to enter a text value.
Ask the user to enter a text value .
def input(self, prompt: str) -> Optional[str]:
        response = Queue()
        self.send_command_to_tk('input', prompt, response, notify=True)
        return response.get()
def input ( self , prompt : str ) -> Optional [ str ] : response = Queue ( ) self . send_command_to_tk ( 'input' , prompt , response , notify = True ) return response . get ( )
Ask the user to enter a text value.
Ask the user to enter a text value .
"""
        Ask the user to enter a text value.

        Args:
            prompt: A message to display.

        Returns:
            A string containing the value that the user typed. `None` if the user
            clicked on Cancel instead of OK.
        """
A string containing the value that the user typed. `None` if the user
clicked on Cancel instead of OK.
A string containing the value that the user typed . ` None ` if the user clicked on Cancel instead of OK .
self
prompt
str
A message to display.
A message to display .