Repeat For More Input


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

```

I can’t type in the terminal, so I can’t give any input. also, puts is working just like print. here is my code:

print "What’s your first name? "
first_name = gets.chomp

print "What’s your last name? "
last_name = gets.chomp

print "Where do you live or where were you born? "
city = gets.chomp

print "Which state or province? (Please Abbreviate) "

This is what happens:
What’s your first name? What’s your last name? Where do you live or where were you born? Which state or province? (Please Abbreviate) []<-- represents the flashing box that i can’t type in.

<do not remove the three backticks above>

#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.