Here is the error:
AttributeError: partially initialized module 'keyboard' has no attribute 'is_pressed' (most likely due to a circular import)
Here is the code:
import keyboard
while True:
if keyboard.is_pressed() == "a":
if on == "true":
on = "false"
print("Turned off")
if on == "false":
on = "true"
print("Turned on")
Please somebody help me fix this I have no idea why it is breaking