Lists

Run Settings
LanguageRuby
Language Version
Run Command
list = 1, 3, 4, 8, 9, 7, 6, 5, 2, 0 list1 = 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 list.each_with_index do |list, index| index += 1 puts "The #{index} number in the list is #{list}" end puts "The order of the list is #{list}" puts "The right order is #{list.sort}" puts "\n" list.each do |list| list1.each do |list1| puts "#{(list) + (list1)}" end end
Editor Settings
Theme
Key bindings
Full width
Lines