Ballpark Orders challenge - EOF error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Ballpark Orders challenge - EOF error

I'm getting an EOF error while trying to solve the Ballpark Orders challenge. Very new to python so I'm sure I'm just missing something silly like a semi colon or something but I've fought with this darned thing for almost an hour and I'm at a loss on what to do. Help, please? https://code.sololearn.com/casFUBG16l7z/?ref=app

13th Feb 2023, 7:58 AM
Nate
3 Answers
+ 9
Nate , additionally to the hints that Lisa has given you, 1 issue has to be solved. > for the total price, a tax of 7% has to be added to it.
13th Feb 2023, 8:17 PM
Lothar
Lothar - avatar
+ 4
According to the task description, we only need to get input once: All items are submitted in one string. You can get input once before the loop, then use .split() to get list of items. Then iterate the list.
13th Feb 2023, 8:02 AM
Lisa
Lisa - avatar
+ 2
I may have to circle back around to this. I don't think I properly understand how to pull out individual text from a long string. Looks like that is in upcoming lessons and I'm just trying challenges too soon. Thanks for your help, y'all!
13th Feb 2023, 9:17 PM
Nate