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?

30th Sep 2017, 10:48 AM
Jaymes Guiher
Jaymes Guiher - avatar
1 Respuesta
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
22nd Dec 2017, 5:26 AM
Tanay Sharma