How to make a function which has continuous argument (without any gap or commas)