Trip budget

A plan for the Goa trip in March. This file is plain Markdown. The tools on this site turn it into a PDF, a web page or HTML with no edits.

Bookings

Item Booked Cost
Train, both ways Yes 2,400
Stay, 3 nights Yes 6,000
Scooter hire No 1,200
Food and coffee No 3,500
Total 13,100

Prices are in rupees. The stay includes breakfast[1].

To do

Route

  1. Train to Madgaon, arriving at 06:40.
  2. Taxi to the stay in Palolem.
  3. Day two: Cabo de Rama fort, then Agonda beach.

Tip: keep one day free. Plans made on the beach are usually better than plans made at a desk.

Splitting the cost

A few lines of Python are enough to split the total between friends.

costs = {"train": 2400, "stay": 6000, "scooter": 1200, "food": 3500}
friends = ["Asha", "Dev", "Kiran"]

total = sum(costs.values())
share = round(total / len(friends), 2)

for name in friends:
    print(f"{name} pays {share}")  # 4366.67 each

Inline code works too: run python split.py and share the result. Links stay clickable, like Indian Railways, and struck text stays struck.


Notes

Tables, code, task lists, quotes and footnotes all carry over. In a PDF, \pagebreak on its own line starts a new page.


  1. Breakfast is served from 8 to 10. ↩︎