Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Functions
#2
Please use python tags. I added them for you this time, but please review the BBCode tutorial link in my signature.

You need to call the holiday_cost function, just like you (?) called the hotel_cost, plane_cost, and car_rental functions within the holiday_cost function. For example:

print holiday(2, 'Joburg', 3)
Would get you the cost of three days and two nights in Joburg.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Functions - by Anele - Jul-03-2017, 11:18 AM
RE: Functions - by ichabod801 - Jul-03-2017, 11:53 AM
RE: Functions - by buran - Jul-03-2017, 12:09 PM
RE: Functions - by Anele - Jul-04-2017, 05:58 PM

Forum Jump:

User Panel Messages

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