Question: Problem 1. (Name and Age) Write a program nane.age.py that takes two strings name and age as command-line arguments and writes the output name is

 Problem 1. (Name and Age) Write a program nane.age.py that takes

Problem 1. (Name and Age) Write a program nane.age.py that takes two strings name and age as command-line arguments and writes the output "name is age years old." python3 nan..age.py Alice 19 Alice 1s 19 years old Problem 2. (Greet Three) Write a program greet, three.py that takes three strings namel, name?, and name? as command- line arguments and writes the output "Hi nameS, nameg, and name.!.". s python3 greet,three.py Alice Bob Carol Hi Carol, Bob, and AliCe i Paren h 01 1.os carei Problem writes True if each one tests whether the three mumbers could be the lengths of the sides of some triangle. s. (Triangle Inequality) Write a program triangle py that takes three integers as command-line arguments and of them is less than or equal to the sum of the other two and Palse otherwise. Note: this computation True s python3 triangie.py 2 417 tric Functions) Write a progam erig.functions py that takes a float t (angle in degrees) as command- Problem 4. (Trigonomet line argument and writes the value of sin(2t) +sin(3 0.8660254037844388 and write Problen dhe value of te aduen t seconds when an object is thrown straight up from initial height zo meters with velocity the dis ts metets per sncond t.py that takes three floats zo , and t as exmmand-line arguments (Displacement)2, where g is the constant 9.78033 meters per second per second. Note: this value is ot - gt/2, where g is the constant 9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!