Answers for "how to install prettytable python on 3.9"

4

prettytable python

from prettytable import PrettyTable
PTables = PrettyTable()

PTables = PrettyTable()
    PTables.field_names = ["Selection No.", "Weapon Name", "Damage"]
    PTables.add_row(["0", "Fist", "1 dp"])
    PTables.add_row(["1", "Knuckle Busters", "2.5 dp"])
    PTables.add_row(["2", "Cheap Knife", "5 dp"])
    PTables.add_row(["3", "Wooden Baton", "6 dp"])
    print(PTables)
Posted by: Guest on October-19-2020

Code answers related to "how to install prettytable python on 3.9"

Python Answers by Framework

Browse Popular Code Answers by Language