1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
def main(): #These are the two options available print ( "1: register" ) print ( "2: login" ) signIn = int ( input ( "Do you have an existing account? 1 or 2?" )) #yes = Y #no = N if signIn = = 2 : existingUser() elif signIn = = 1 : newUser() main() existingUser(): print ( "signin" ) newUser(): print ( "new user" ) |
when calling module comes up with syntax error
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
POST Syntax error | amplay | 0 | 654 |
Aug-07-2024, 02:43 PM Last Post: amplay |
|
is this really a syntax error? | Skaperen | 4 | 1,630 |
May-25-2024, 07:31 AM Last Post: snippsat |
|
World Clock syntax error | OscarBoots | 1 | 1,119 |
May-03-2024, 05:20 AM Last Post: snippsat |
|
Syntax error for "root = Tk()" | dlwaddel | 15 | 6,519 |
Jan-29-2024, 12:07 AM Last Post: dlwaddel |
|
![]() |
SYNTAX ERROR | Yannko | 3 | 1,324 |
Jan-19-2024, 01:20 PM Last Post: rob101 |
Syntax error while executing the Python code in Linux | DivAsh | 8 | 4,997 |
Jul-19-2023, 06:27 PM Last Post: Lahearle |
|
Code is returning the incorrect values. syntax error | 007sonic | 6 | 3,028 |
Jun-19-2023, 03:35 AM Last Post: 007sonic |
|
pyscript index error while calling input from html form | pyscript_dude | 2 | 1,958 |
May-21-2023, 08:17 AM Last Post: snippsat |
|
syntax error question - string | mgallotti | 5 | 2,664 |
Feb-03-2023, 05:10 PM Last Post: mgallotti |
|
Syntax error? I don't see it | KenHorse | 4 | 2,767 |
Jan-15-2023, 07:49 PM Last Post: Gribouillis |
Users browsing this thread: 1 Guest(s)