Oh woooow, I was there like 4 years ago and there wasn't a straight "tram" or train or however it's called up to the hill with those statues and stuff. We had to walk it haha :D
You mentioned prague. Any chance you were also in Bratislava, Slovakia. Or did you go Prague-Vienna-Budapest as 90% of people decide to go? :/ I'm from Slovakia and we're getting noooo love at all hahah :D