From 46da116b8a9a8d51f3574a00bdde4e8ec66981a2 Mon Sep 17 00:00:00 2001 From: waleedrasool01-pixel Date: Sun, 17 Aug 2025 14:36:27 +0500 Subject: [PATCH 1/2] Delete 02-Control-Flow/ATM_simulator.md --- 02-Control-Flow/ATM_simulator.md | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 02-Control-Flow/ATM_simulator.md diff --git a/02-Control-Flow/ATM_simulator.md b/02-Control-Flow/ATM_simulator.md deleted file mode 100644 index eff878c..0000000 --- a/02-Control-Flow/ATM_simulator.md +++ /dev/null @@ -1,31 +0,0 @@ -# Exercise: Simple ATM Simulator # - -Write a Python program to simulate a simple ATM system. - -## Requirements ## -- Start with a balance of 5000. -- Allow the user to: - 1. Check balance - 2. Deposit money - 3. Withdraw money - 4. Exit -- Use a `while` loop to repeatedly show the menu until the user chooses to exit. -- Prevent withdrawal if the amount is greater than the balance. - -### Example Output ### -Welcome to the ATM! - 1. Check Balance - 2. Deposit - 3. Withdraw - 4. Exit - -Enter your choice: 1 -Your balance is: 5000 -Enter your choice: 3 -Enter amount to withdraw: 6000 -Insufficient funds! -Enter your choice: 4 -Thank you for using our ATM! - - -**Hint:** Use `if-elif-else` statements for menu handling. \ No newline at end of file From c04dfb3f31c736f039ab8116dbf53614f31ff898 Mon Sep 17 00:00:00 2001 From: waleedrasool01-pixel Date: Sun, 17 Aug 2025 14:37:11 +0500 Subject: [PATCH 2/2] Delete 02-Control-Flow/Number_Guessing_Game.py --- 02-Control-Flow/Number_Guessing_Game.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 02-Control-Flow/Number_Guessing_Game.py diff --git a/02-Control-Flow/Number_Guessing_Game.py b/02-Control-Flow/Number_Guessing_Game.py deleted file mode 100644 index 4800d03..0000000 --- a/02-Control-Flow/Number_Guessing_Game.py +++ /dev/null @@ -1,10 +0,0 @@ -import random - -secret_number = random.randint(1, 50) -attempts = 0 - -while True: - guess = int(input("Guess a number between 1 and 50: ")) - attempts += 1 - - # TODO: Add conditions to check if guess is too high, too low, or correct #