r_y=len(y) #rows for y c_y=len(y[0]) #columns for y print(r_y="rows",c_y="columns") whats wrong with code in python

main.py
# There is a syntax error in the code.
# The print function should not have key-value pairs as arguments.

r_y=len(y) # rows for y
c_y=len(y[0]) # columns for y
print(r_y, "rows", c_y, "columns")
196 chars
7 lines

related categories

gistlibby LogSnag