Difference between revisions of "Python:Composing Functions Tutorial"

From Progzoo
Jump to: navigation, search
 
Line 64: Line 64:
 
</answer>
 
</answer>
 
</question>
 
</question>
 +
{{World Factbook Tutorial}}

Latest revision as of 21: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.


[Font] [Default] [Show] [Resize] [History] [Profile]

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.


[Font] [Default] [Show] [Resize] [History] [Profile]

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.


[Font] [Default] [Show] [Resize] [History] [Profile]

First and last letter are the same.

Show the name where the country name starts and ends with the same letter irrespective of case.


[Font] [Default] [Show] [Resize] [History] [Profile]