Python Forum
My very first "thing" what I'm somewhat proud of, after a week udomy class. Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My very first "thing" what I'm somewhat proud of, after a week udomy class. Register
#6
couple of things. basically this code could not possibly run.
it looks like you try to use True as variable name, because you try to assign value to True, e.g. 1, 4, etc. Don't do that.
True is keyword, a built-in constant. It's strange if your code does not raise SyntaxError. It should raise SyntaxError
Error:
>>> True=1 File "<stdin>", line 1 SyntaxError: can't assign to keyword
Next, what is the purpose of
def log_in():
    return ()
not that you need a function if you need empty tuple.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: My very first "thing" what I'm somewhat proud of, after a week udomy class. Register - by buran - Aug-26-2020, 08:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  My very first "thing" what I'm somewhat proud of, after a week udomy class. Register Haulpa 3 2,718 Jun-19-2020, 09:02 PM
Last Post: Haulpa
  my first attempt, please advise me of any thing danak 6 4,094 Feb-01-2020, 03:19 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020