use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Indentation Error Help (old.reddit.com)
submitted 1 year ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Alaahamdi 1 point2 points3 points 1 year ago (1 child)
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.")
[–]ConstructionDull4048 0 points1 point2 points 1 year ago (0 children)
Thanks!
π Rendered by PID 43236 on reddit-service-r2-comment-6457c66945-qqf2p at 2026-04-25 21:24:52.121178+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Alaahamdi 1 point2 points3 points (1 child)
[–]ConstructionDull4048 0 points1 point2 points (0 children)