age = int(input("how old are you"))
license = input("do you have license")
if age >= 18 and license.lower() == "yes":
print("you can drive")
elif age < 18 or license.lower() == "no":
print("you can't drive")
else:
print("Adhere to the laws")
10 إعجابات
أحسنت استمر بالممارسة وعرض المشاريع:clap:
3 إعجابات
كيف تقوم بنشر الكود بالألوان؟
3 إعجابات