def my_func(*args): return print(args) args_list = [1, 2, 'hui'] my_func(*args_list)
Standard input is empty
(1, 2, 'hui')
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!