Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started