+ 3
Your function is not returning anything, thus returning NONE which what your last print() is printing. The first output is because of print() in the function itself there are a lot of ways to fix it Here's one of them👇 https://code.sololearn.com/cFnb6IdHp8un/?ref=app
22nd Feb 2021, 4:11 PM
Arsenic
Arsenic - avatar