''' def star(rows=5): #形参 参数默认值 row = 0 while row < rows: row += 1 space = 0 while space < rows - row: space += 1 print(" ", end="") star = 0 while star < 2 * row - 1: print("*", end="") star += 1 print("") star() star(3) star(6) star(10) '''
-
Notifications
You must be signed in to change notification settings - Fork 0
magaoda/nongda
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published