Planning your trip


#1

can someone tell me what"s wrong? Please?
I suck at this

def hotel_cost(nights)
return 140 * nights


#2

btw it's saying 'Oops, try again. Did you create a function called hotel_cost?'


#3

Did you remember to indent the code block in your function? I can see one error, the missing : to start the block...

Eg.

def function(param):
    return something * param

#6

oh, thanks!

the block was indented, I just forgot the bloody colon.

sorry, I'm an imbecile.:confounded: