Skip to content

Instantly share code, notes, and snippets.

@ahmed4end
Created January 31, 2020 21:29
Show Gist options
  • Save ahmed4end/6afaa9d61b0fe83f768f42ccbfcfa79b to your computer and use it in GitHub Desktop.
Save ahmed4end/6afaa9d61b0fe83f768f42ccbfcfa79b to your computer and use it in GitHub Desktop.
print beautiful format.
methods = [i for i in dir(str) if not i[0]=="_"]
for i in zip(*[iter(methods)]*4):
print("{:15}{:^15}{:^15}{:>15}".format(*i))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment