how to repeat characters in a string python code example Example: python string repetition ^ "cow" * 3 'cowcowcow' "cow" * 10 'cowcowcowcowcowcowcowcowcowcow'