Skip to content

Commit

Permalink
Update Add two numbers.py
Browse files Browse the repository at this point in the history
fixed formatting of print statement
  • Loading branch information
Piombacciaio authored Jul 29, 2023
1 parent 5d35869 commit 2402182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Add two numbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
sum = num1 + num2

# Display the sum
print("The sum of"num1,'and'num2,'is',sum)
print(f"The sum of {num1} and {num2} is {sum}")

0 comments on commit 2402182

Please sign in to comment.