This is how Google teaches to use conditional statements in Python.
organization_hours = True
if organization_hours == True:
print("Login attempt made during organization hours.")
Does PEP-8 mean nothing to you?
From Automate Cybersecurity Tasks with Python course, which is mandatory for Google Cybersecurity Professional Certificate.
I'm a Python developer, so this part with basics of Python is extremely boring; especially if you are a type of person that doesn't like to skip parts of a whole (I don't like it so much that I've never let myself to try newer Zelda games because I have not completed The Adventure of Link yet) :(

PEP 8 – Style Guide for Python Code | peps.python.org
This document gives coding conventions for the Python code comprising the standard library in the main Python distribution. Please see the companion informational PEP describing style guidelines for the C code in the C implementation of Python.

