Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Meal cost challenge
#3
You need to define a function solve, i.e. create the body of the function. That is your assignment.
@Gribouillis suggest pass, but that will just deal with the current error. Instead of pass you need to write your code for teh function
lines #10-17 are there to help you test the function you will write
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Meal cost challenge - by Emekadavid - Jun-01-2020, 08:54 AM
RE: Meal cost challenge - by Gribouillis - Jun-01-2020, 09:25 AM
RE: Meal cost challenge - by buran - Jun-01-2020, 11:23 AM
RE: Meal cost challenge - by Emekadavid - Jun-01-2020, 02:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Team Chooser Challenge kanchiongspider 3 2,451 Jun-02-2020, 04:02 AM
Last Post: kanchiongspider
  Appending To Files Challenge erfanakbari1 3 3,033 Mar-27-2019, 07:55 AM
Last Post: perfringo
  Problem with a basic if challenge erfanakbari1 2 2,050 Oct-12-2018, 08:04 AM
Last Post: erfanakbari1
  trying an online challenge tozqo 8 6,085 Jun-21-2017, 07:07 AM
Last Post: Kebap

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020