More basics on python - functions, conditionals