Python:Join String

From Progzoo
Jump to: navigation, search

Use s+t to concatenate s and t.

s+"th" puts the string "th" at the end of s.


s                   s+"th"              

One                 Oneth               
two                 twoth               
three               threeth             
four                fourth              
five                fiveth              
six                 sixth               
[Font] [Default] [Show] [Resize] [History] [Profile]