dimanche 7 juin 2020

Getting error in , printing pattern in python

I am try to print a square box using python, but every time i try, it print a straight line. So i didn't understand what's going on. Code is below.

for i in range(6):
  for j in range(6):
    print("*",end="")
    print()

Aucun commentaire:

Enregistrer un commentaire