From 3fd28bd7d4bbb80361531ec286f78c3e3e701945 Mon Sep 17 00:00:00 2001 From: Giganaer <52987870+Giganaer@users.noreply.github.com> Date: Tue, 20 Oct 2020 11:33:37 +0800 Subject: [PATCH] Completed the code --- t07numberpatterns_squares.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t07numberpatterns_squares.py b/t07numberpatterns_squares.py index 7d9968d..a35df6a 100644 --- a/t07numberpatterns_squares.py +++ b/t07numberpatterns_squares.py @@ -1,3 +1,6 @@ # Generate squares number pattern from 1 to 10 # 1 4 9 16 25 ... +for i in range(1,11): + print(i ** 2, end = " ") +