Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 763 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 763 Bytes

python_extra

The extra Python exercises I do (outside "Learn Python the Hard Way")

2017-01-18, Wednesday

Some exercises from this site: http://www.ling.gu.se/~lager/python_exercises.html

Including… max_fun.py = “define a function max() which takes two numbers and returns the larger of the two” max_of_three.py = “define a function max_of_three() which takes three numbers and returns the largest of the three” find_len.py = "Define a function that computes the length of a given list or string. (It is true that Python has the len() function built in, but writing it yourself is nevertheless a good exercise.)" is_vowel.py = "Write a function that takes a character (i.e. a string of length 1) and returns True if it is a vowel, False otherwise."