0
Make sure scanner name doesn’t exist already
3 odpowiedzi
+ 3
Check line by line you will get where are the problems.
+ 2
Many mistakes in code:
1 - Indentation problem
2 - parenthesis () should be use with print function
print ("xyz")
3 - colon (:) should be after each conditional statement and function declaration name
if True:
print ("xyz")
def abc():
4 - return should not be use without function
5 - print statement should not be after return statement.
0
What lines? How would you write the function to make sure the scanner does not exist in the table already?