This website uses cookies to ensure you get the best experience.
Learn more.
A notebook text widget supplies the value 2026 as a string, but arithmetic expects a number. What should its code do?
Published
- Multiply the string without checking its meaning
- Validate and convert the widget value to the required numeric type
- Assume every widget returns a native integer
- Change the notebook's display font
Comments — 0
Sign in to comment