Skip to content
Snippets Groups Projects
Commit 86ed63f4 authored by Angy Wallot's avatar Angy Wallot
Browse files

Upload New File

parent 1e215e70
No related branches found
No related tags found
No related merge requests found
import sys
def main():
a = int(sys.argv[1])
b = int(sys.argv[2])
print(f"la somme de {a} et {b} est {a+b}")
if __name__ == "__main__":
if len(sys.argv) != 3:
print("Usage : python3 somme.py <a> <b>")
else:
main()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment