Skip to content
Snippets Groups Projects
Commit f11fc964 authored by Niphade's avatar Niphade
Browse files

add c var to swap

parent 73d88b46
Branches swap2_new
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment