python string repeat character code example Example: python string repetition ^ "cow" * 3 'cowcowcow' "cow" * 10 'cowcowcowcowcowcowcowcowcowcow'