Sunday, March 3, 2019

System Argument - Python3

import sys
print (sys.argv)
print ("\nName:",sys.argv[1])
print ("Avg:",(float(sys.argv[2]) + float(sys.argv[3])+float(sys.argv[4]))/3)

ScreenShots:


No comments:

Post a Comment