+ 1

how to fix a problem with something not reading right but it was earlier

TypeError: Can't convert 'NoneType' object to str implicitly https://code.sololearn.com/cxEvusPPq00J/#py ^------ where the code problem is at any help is highly appreciated

24th Apr 2017, 2:32 PM
Matthew Harrison
Matthew Harrison - avatar
2 Respostas
+ 7
*This is a different error you may have made after fixing what @need.. said. Line 99-105. error: if x = True: correct: if x == True; == compares if the values are equal, = sets the value.
24th Apr 2017, 3:50 PM
Rrestoring faith
Rrestoring faith - avatar
0
hi Matthew, cute project that you are working on. The error occurs because the variable 'marage' does not contain a string. This is because the function 'marriage_name' has no return value. Just let the function return the name. Then it should work as intended. See this snippet for solution: https://code.sololearn.com/c1F2Yf3gUtp7/?ref=app
24th Apr 2017, 2:48 PM
needmorechocolate
needmorechocolate - avatar