Question: A user enters the following in a cmd line (sys.argv) prompt: hello1 world2 or hello1 I need help writing an if statement that distinguishes if

A user enters the following in a cmd line (sys.argv) prompt: hello1 world2 or hello1

I need help writing an if statement that distinguishes if there if one input 'hello1' or two inputs 'hello1 world2'.

Windows machine python 3.7.

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!