← Back to Question List
Python Quiz #18
A Hint Is Not A Guarantee
The deck writes type hints such as name: str = 'Giselle'. This program assigns a string to a variable whose hint says int. What happens when it runs?
📄 Code
1count: int = 'seven'2print(type(count))