Skip to content

Fix lint issue #2230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fixed the add_two_nums script
  • Loading branch information
Xceptions committed Jun 5, 2024
commit 3f7ab536fda7ae7e235425e3a618282c9f68aebe
3 changes: 2 additions & 1 deletion add_two_nums.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import typing

__author__ = "Nitkarsh Chourasia"
__version__ = "1.0"
def addition(
Expand All @@ -17,7 +19,6 @@ def addition(

# returning the result.
return f"The sum of {num1} and {num2} is: {sum_result}"
)

print(addition(5, 10)) # This will use the provided parameters
print(addition(2, 2))
Expand Down