CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
Python Quiz #18

A Hint Is Not A Guarantee

hardType Hints

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))