belongs to collection: Python Basic Exercises for Beginners
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5
Solution:
for num in range(10): for i in range(num): print (num, end=" ") #print number # new line after each row to display pattern correctly print("\n")
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Solution:
need an explanation for this answer? contact us directly to get an explanation for this answer