Ruby Question
Hi, I'm trying to make a simple program in Ruby for my civics class, it's written like this: puts "What conflict would you like to cover?" myVar = gets.chomp if myVar = "North Korea" puts "You have chosen North Korea" if myVar = "Syria" puts "You have chosen Syria" end end The purpose is, if a person enters North Korea or Syria in the user input box, the console prints "You have chosen (conflict)", I want to develop it further and add some more scenarios later, but right now, I'm getting the following error from the console: ..\Playground\:6: warning: found = in conditional, should be == ..\Playground\:4: warning: found = in conditional, should be == So I assumed I was supposed to change the = to ==, which just didn't leave any result other than the "What conflict would you like to cover?". I'm confused at what to do, how do I make the code correct and that it prints "You have chosen (conflict)" based on user input? Thanks in advance