What does “string literal in condition” mean?
问题 Whenever I try to run the program, an error pops up saying "string literal in condition (on line 10)". What am I doing wrong? puts "Welcome to the best calculator there is. Would you like to (a) calculate the area of a geometric shape or (b) calculate the equation of a parabola? Please enter an 'a' or a 'b' to get started." response = gets.chomp if response == "a" or "A" puts "ok." elsif response == "b" or "B" puts "awesome." else puts "I'm sorry. I did not get that. Please try again." end