我已经实施了,但仍然提示我。
Android Studio 3.0
for i in range(size):
print ("*", end=" ")
print(" ") # <-- added this line
for column in range(size-2): # <-- modified this line
print("*",end=" ")
for i in range(size-2):
print(" ",end=" ")
print("*")
for i in range(size):
print ("*", end=" ")