掃碼下載編程獅APP
#!/usr/bin/ruby # -*- coding: UTF-8 -*- def test(a1="Ruby", a2="Perl") puts "編程語言為 #{a1}" puts "編程語言為 #{a2}" end test "C", "C++" test