Using double colons slices a string to return a new string containing every n-th character of the original, where n is a specified integer.
Solution for How to use double colons in Python : You can use string slicing to use double colons Use the string slicing syntax string[::n] to get every n-th character of string.