I'm super new to coding and I'm trying to make a simple login program for a school project. My code at the start looks like this.
def start():
c = input("do you want to login or create an account? Type l or c ")
if c != str("l") or str("c"):
print("please type l or c")
start()
The first 'c' at the start is transparent (I'm using PyCharm). When I don't indent it, it doesn't go transparent and looks like it would work but It comes up with an indentation error. Why would it do this and is there a way to fix this. When i hover over the c it says "Local variable 'c' value is not used".
thanks for the help
I've tried looking at other forums and I've seen people saying its something to do with an IDE or something but I don't really know what they're talking about and how to fix my problem.