Party Invitation | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Party Invitation

https://code.sololearn.com/WEeQLqAsWxEF/?ref=app I followed a video tutorial and can't find what's wrong with the code

10th Nov 2020, 9:04 PM
Boyan Ivanov
Boyan Ivanov - avatar
2 Antworten
+ 4
Line 30 You have this return statement outside of a function. return people.filter(canComeToParty)
10th Nov 2020, 9:18 PM
ChaoticDawg
ChaoticDawg - avatar
0
thx i fixed it but why now instead of the specific names it returns objects
10th Nov 2020, 9:23 PM
Boyan Ivanov
Boyan Ivanov - avatar