generate functionWed, 01 Mar 2023

ruby get string from 5 params

def str_for_5_params(a, b, c, d, e) return "#{a} #{b} #{c} #{d} #{e}" end str_for_5_params(1, 2, 3, 4, 5)

Questions about programming?Chat with your personal AI assistant