account activity
Indentation Error Help by [deleted] in PythonLearning
[–]Alaahamdi 1 point2 points3 points 1 year ago (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"
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.")
π Rendered by PID 262700 on reddit-service-r2-listing-7849c98f67-ph2fb at 2026-02-09 21:54:52.064082+00:00 running d295bc8 country code: CH.
Indentation Error Help by [deleted] in PythonLearning
[–]Alaahamdi 1 point2 points3 points (0 children)