0
How can I solve this practice task ?
#Car data practice for the intermediate python course for i in car: print(car[i])
3 Answers
0
x = input()
if x in "brand":
print ("BMW")
else:
if x in "year":
print ("2018")
else:
if x in "color":
print ("red")
else:
if x in "mileage":
print ("15000")
- 1
Mention where are you checking that?