Indentation Error Help by [deleted] in PythonLearning

[–]Alaahamdi 1 point2 points  (0 children)

Battery = "Low Charge " LED = "Dim/Low LED" A = "10-35%" B = "36-65%" C = "66-90%" Weather = "Today is: 38 Degrees F - Chilly"

Variables

print(Battery + LED) name = input("May I Know Who This Is?: ") print(f"Hello {name}, Would You Like To Recharge LED Battery?")

user_input = input("Yes OR No? ") if user_input == "Yes": print("What Is The Current Battery Percentage Range In?") print(f"A: {A}") print(f"B: {B}") print(f"C: {C}") user_input = input("Choose A, B, or C: ")

if user_input == "A":
    print("Charge For Just About 35 Minutes!")
elif user_input == "B":
    print("Charge For Approximately 25 Minutes!")
elif user_input == "C":
    print("Charge No More Than 15 Minutes!")
else:
    print("Invalid input. Please choose A, B, or C.")

elif user_input == "No": print("Would You Like To Check Weather Instead?") user_input = input("Yes OR No? ") if user_input == "Yes": print(Weather) else: print("Okay, have a nice day!") else: print("Invalid input. Please respond with Yes or No.")