, Need to be Resolved! How to .append( ) something to a variable oriented to None? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 3

, Need to be Resolved! How to .append( ) something to a variable oriented to None?

A simple code. And pleas check the line 7 in try block, why there is invalid syntaxes? https://code.sololearn.com/c40ABnM9lSLb/?ref=app

27th Aug 2019, 11:48 AM
爱人么你
爱人么你 - avatar
2 Antworten
+ 2
So there is no way to append something to a variable inlined to "None", because 'None' is an empty hole.
28th Aug 2019, 8:55 AM
爱人么你
爱人么你 - avatar
+ 2
我尝试,投资,工作
28th Aug 2019, 10:21 AM
爱人么你
爱人么你 - avatar