Quiz on Things Unremarked
Take a quiz on some concepts in this chapter.
1
Which code snippet outputs I am Carla
, assuming the name
variable is initialized as follows?
name = "Carla"
A)
puts %(I am \"#{name}\")
B)
puts %~I am "#{name}"~
C)
puts %~I am #{name}~
Question 1 of 50 attempted
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy