row=" "
while len(row)==0:
rows= int(input('How many rows?: '))
columns= " "
while len(columns) == 0:
columns= int( input('How many columns?: '))
symbol= " "
while len(symbol) == 0:
symbol=int(input('What kind of symbol?: '))
row=int(row)
columns=int(columns)
for i in range( row):
for j in range( columns):
print(symbol,end=" ")
print( )
i tried to chage (row and columns into int) but it won’t work
i want it to display a table
New contributor
T.A.G.AHUTS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.