Last active
June 22, 2021 13:40
-
-
Save kedihacker/b132c2d185e5cfac26afaa280527500a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if __name__ == '__main__': | |
table = make_table( | |
rows=[ | |
["Lemon"], | |
["Sebastiaan"], | |
["KutieKatj9"], | |
["Jake"], | |
["Not Joe"] | |
] | |
) | |
print(table) | |
print("new\n") | |
table = make_table( | |
rows=[ | |
["Lemon", 18_3285, "Owner"], | |
["Sebastiaan", 18_3285.1, "Owner"], | |
["KutieKatj", 15_000, "Admin"], | |
["Jake", "MoreThanU", "Helper"], | |
["Joe", -12, "Idk Tbh"] | |
], | |
labels=["User", "Messages", "Role"] | |
) | |
print(table) | |
print("new\n") | |
table = make_table( | |
rows=[ | |
["Ducky Yellow", 3], | |
["Ducky Dave", 12], | |
["Ducky Tube", 7], | |
["Ducky Lemon", 1] | |
], | |
labels=["Name", "Duckiness"], | |
centered=True | |
) | |
print(table) | |
print("new\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
added if main