In: Computer Science
What would be the Python “if -else” statement for this
sentence.
I and 6 months daughter have been feeling sick since the whether
changed. That got worried because of the COVID and we got tested
yesterday and awaiting result. If my daughter’s result comes out
negative, I am negative too. Otherwise we are both positive.
/*If you any query do comment in the comment section else like the solution*/
daughter = input("Enter covid report of daughter: ")
if daughter == '-':
print("Both mother and daughter are covid negative")
else:
print("Both mother and daughter are covid positive")