how to make table using python
from prettytable import PrettyTable
A = PrettyTable()
A.add_column("Pokimon",["wartortle"])
A.add_column("Type",["Water attack"])
print(A)
how to make table using python
from prettytable import PrettyTable
A = PrettyTable()
A.add_column("Pokimon",["wartortle"])
A.add_column("Type",["Water attack"])
print(A)
table in python
number = int(input ("Enter the number of which the user wants to print the multiplication table: "))
# 10 times
print ("The Multiplication Table of: ", number)
for count in range(1, 11):
print (number, 'x', count, '=', number * count)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us