×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: Peter Tsiampas
Added: Apr 14, 2018 7:26 AM
Views: 3
Tags: no tags
  1.     def indent(txt, stops=1):
  2.         return '\n'.join(" " * 4 * stops + line for line in txt.splitlines())