input: from typing import Optional
  
  def print_cube_of_number(number: Optional[int] = None) -> None:
      """
      Takes an integer input from the user and prints its cube.
      If a number is provided as an argument, it uses that instead of prompting the user.
      
      >>> print_cube_of_number(3)
      The cube of the number is: 27
      >>> print_cube_of_number()
      Please enter a number: 3
      The cube of the number is: 27
      """
      if number is None:
          number = int(input("Please enter a number: "))
      cube = number**3
      print("The cube of the number is: " + str(cube))
output:     if number is None:
          number = int(input("Please enter a number: "))
      cube = number**3
      print("The cube of the number is: " + str(cube))