10.times{
puts "Tere Kai"
}
# See loop jooksutab selle sees olevat koodi nii kaua kuni vastus on väär
loop do
puts "Do you want to look a city dial code? (y/n)"
answer = gets.chomp # get input from user
# if user input is anything other than y, then break loop
if answer != 'y'
break
end