From ca08c6e6ca10080dd99417b82914c22b5c4ea237 Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Fri, 13 Jun 2025 13:02:16 +0000 Subject: [PATCH 1/3] Setting up GitHub Classroom Feedback From 9c84ca64fb22d019f2e9e439d9b8f96ab7a6ed5b Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Fri, 13 Jun 2025 13:02:19 +0000 Subject: [PATCH 2/3] add deadline --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2649c54..aa8b2ea 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-22041afd0340ce965d47ae6ef1cefeee28c7c493a6346c4f15d667ab976d596c.svg)](https://classroom.github.com/a/XeMTL_Yx) # 🐍 Python Assignment: Loops, Ranges, and String Manipulation #### ✨ Instructions: From 9951e8c8064f2bfffa8f501c0127bc9fd845db5e Mon Sep 17 00:00:00 2001 From: giorgi chubinishvili Date: Fri, 13 Jun 2025 18:27:54 +0400 Subject: [PATCH 3/3] Add files via upload --- assignment4.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 assignment4.py diff --git a/assignment4.py b/assignment4.py new file mode 100644 index 0000000..6e07425 --- /dev/null +++ b/assignment4.py @@ -0,0 +1,26 @@ +for i in range(1,21): + print(i) +for i in range(1,21): + if i % 2 == 0 : + print(i) +for i in range(1,11): + if i != 5: + print(i) + continue + + +for i in range(1,11): + if i == 7: + break + print(i) + + +secret_number = 7 +while True: + number=int(input("guess the number 1-10 : ")) + if number == secret_number: + print(f"you got it , well done it's number {number}") + break + else: + continue +