id/email
password
forgot password
about | help | done | prefs | create account
CodingBat code practice

Python > String-1 chance

Basic python string problems -- no loops. Use + to combine strings, len(str) is the number of chars in a String, str[i:j] extracts the substring starting at index i and running up to but not including index j.

 hello_name make_abba make_tags
 make_out_word extra_end first_two
 first_half without_end combo_string
 non_start left2

See also Python Example Code. Python help docs: Python Strings | Python Lists | Python If Boolean

Copyright Nick Parlante 2006-11 - privacy