0
How do I change letters in user made outputs?
lol = gets a=s puts lol if I type a it won't show as an s, any help?
1 Answer
0
Hi, If you want to print 'a' first you have to assign a value to 'a'. In your case 's' is not defined and if you consider 's' as a string
Then assign like this
lol = gets
a = 's'
puts lol
puts a