Jul-08-2023, 02:21 AM
I am doing a tutorial where i get some string data input
lbsOrKgs = input ("is it in lbs or kgs")
now after getting that input all i want to do is write a comparison
if lbsOrKgs == ("lbs) or lbsOrKgs = ("kgs"):
print ("cool)
Getting error? Please help me understand. Thank you.
lbsOrKgs = input ("is it in lbs or kgs")
now after getting that input all i want to do is write a comparison
if lbsOrKgs == ("lbs) or lbsOrKgs = ("kgs"):
print ("cool)
Getting error? Please help me understand. Thank you.