Ruby - Variables and Data Types
How does Ruby's dynamic typing help when processing mixed data types in a list?
Example:
Example:
items = [10, "hello", 3.14, true]
items = [10, "hello", 3.14, true]
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions