From f11fc964c28791d2660251ab387698fc12f00cb0 Mon Sep 17 00:00:00 2001 From: Niphade <in00270@otter120.eps.surrey.ac.uk> Date: Fri, 7 Feb 2025 12:42:30 +0000 Subject: [PATCH] add c var to swap --- swap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swap.py b/swap.py index c57c2e5..5dbf4da 100644 --- a/swap.py +++ b/swap.py @@ -3,7 +3,7 @@ # Input two numbers a = int(input("Enter first number: ")) b = int(input("Enter second number: ")) - +c = None print(f"Before swapping: a = {a}, b = {b}") # Swapping using a temporary variable -- GitLab