001 100 Python Exercises

Learn Python and Automate Network Tasks: Build Your Own Apps June 10, 2015 1 I. Strings Given the following string, answer the questions below. my_str...

30 downloads 49 Views 319KB Size

Recommend Documents

Regular Expressions Sheet Source: https://github.com/tartley/python-regex-cheatsheet/blob/master/cheatsheet.rst Additional Source: https://docs.python.org/2/library/re.html \ escapes special characters. . matches any character ^ matches start of the

Learn Python and Automate Network Tasks: Build Your Own Apps June 10, 2015 1 I. Strings 1. 'a' 2. '0' 3. '3' 4. IndexError: string index out of range 5. ':::' 6. '2:9' 7. '0:43' 8. 'a0:12:90:00:8' 9. 'a19084' 10. my_string[6:11] 11. my_string[-11:-6]

ExercisesPeople in the Story Answer the questions YES or NO. 1 Did anyone else work in Lenny's office? 2 Was Lenny a policeman? 3 Did people pay Lenny to solve crimes and find missing persons? 4 Did Lenny have regular work? 5 When he was busy, did he

Interpretation PROFESSIONAL INTERPRETING IN THE REAL WORLD Series Editor: Diane Teichman, Linguistic Services, Houston, Texas, USA This series will pu...