#sum of
two numbers
import
sys
a=sys.argv
#convert
arguments into two nuers
#sum=int(sys.argv[1])+int(sys.argv[2])
sum=int(a[1])+int(a[2])
print(sum)
"""
F:\Programs>cd
command
F:\Programs\command>python
2.py 2 4
6
#Ask the user to take two input integer values var a,b try: a=int(input("enter any integer value:")) b=int(input(&qu...
No comments:
Post a Comment