From 6bedb60eaad482c20f7a45a4305b91171e26abec Mon Sep 17 00:00:00 2001 From: LySergicaciD125 <57823363+LySergicaciD125@users.noreply.github.com> Date: Wed, 30 Sep 2020 21:45:09 +0530 Subject: [PATCH] Create while loop example --- while loop example | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 while loop example diff --git a/while loop example b/while loop example new file mode 100644 index 00000000..095731ee --- /dev/null +++ b/while loop example @@ -0,0 +1,5 @@ +x = 0 #we will use this as counter + +While x<=10 + x= x+1 + print("Hello World") # will print hello world 10 times