Jan-22-2020, 05:12 PM
Something like
meas = "IMPerI" if meas.lower() in "imperial" : print("Imp") else: print("Metric")
Problem with accepting multiple string inputs
|
|
Messages In This Thread |
Problem with accepting multiple string inputs - by Ryan_Todd - Jan-22-2020, 04:54 PM
RE: Problem with accepting multiple string inputs - by buran - Jan-22-2020, 04:55 PM
RE: Problem with accepting multiple string inputs - by jefsummers - Jan-22-2020, 05:12 PM
RE: Problem with accepting multiple string inputs - by sandeep_ganga - Jan-22-2020, 05:18 PM
RE: Problem with accepting multiple string inputs - by buran - Jan-22-2020, 05:21 PM
RE: Problem with accepting multiple string inputs - by buran - Jan-22-2020, 06:12 PM
|