func printAll(args...) { for i in args { print(i) } } printAll("test", "rosetta code", 123, 5.6)