Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i am having issue with this here is my code import sys isCold= sys.argv[1] == 'True' isRainy= sys.argv[2] == 'True' # Your code goes here

i am having issue with this here is my code import sys isCold= sys.argv[1] == 'True' isRainy= sys.argv[2] == 'True' # Your code goes here #cold or warm and rainy or dry if isCold: print ("cold and") else: print ("warm and") if isRainy: print("rainy") else: print ("dry") and it prints cold and rainy but i get an error :Program Failed for Input: True True

Your output was incorrect. Try again

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is the purpose of the application form?

Answered: 1 week ago

Question

What is the general purpose of preliminary screening?

Answered: 1 week ago