Question: Python sampleList = [Jon, Kelly, Jessa] sampleList.append(Scott) print(sampleList) error can't add to list [Jon', Kelly': Jessa'; 'Scott] ['Scott', Jon', 'Kelly', 'Jessa'] ['Jon; 'Scott; Kelly, Jessa']
Python sampleList = [\"Jon\", \"Kelly\", \"Jessa\"] sampleList.append(\"Scott\") print(sampleList) error can't add to list [Jon', Kelly': Jessa'; 'Scott] ['Scott', Jon', 'Kelly', 'Jessa'] ['Jon; 'Scott; Kelly, Jessa']
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
