Difference between revisions of "Python:Composing Functions Tutorial"
|Line 64:||Line 64:|
Latest revision as of 22:15, 11 July 2017
You may want to review some examples before you start: Python:String_Functions
Region starts with first letter of name
Show the name and the region where the first letter of the name is also the first letter of the region.
Region is the same length as the name.
Show the name and the region where the length of the name equals the length of the region.
Region ends with the last letter of the name.
Show the name and the region where the last letter of the name equals the last letter of the region.
First and last letter are the same.
Show the name where the country name starts and ends with the same letter irrespective of case.