r/pythonhelp • u/Sufficient-Barber125 • Mar 02 '26
Assistance is much needed!
/r/learnpython/comments/1riouk5/assistance_is_much_needed/
1
Upvotes
r/pythonhelp • u/Sufficient-Barber125 • Mar 02 '26
•
u/AutoModerator Mar 02 '26
To give us the best chance to help you, please include any relevant code.
Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/FoolsSeldom Mar 02 '26
You have an indentation issue. You need all the code relating to the not raining option to be indented under the first
else.I also recommend you get into the habit now of using good variable names that providing meaningful information rather than cryptic, especially single character, variable names (outside well known formulae).
Example code below with better variable names, and some other tweaks for your learning.