Changes

Jump to: navigation, search

OPS435 Python3 Lab 4

1 byte added, 19:06, 1 October 2019
LAB REVIEW
# List and briefly explain the following string methods:<br>'''lower()''' , '''upper()''' , '''swapcase()''' , '''title()''' , '''captilize()''' , '''split()'''
# Assume you issued the following command in your ipython3 shell:<br>'''course_name = 'Programming with Python''''<br>What will be the output for each of the following Python commands?<ol type="a"><li>'''course_name[3:11]'''</li><li>'''course_name[10:]'''</li><li>'''course_name[-1]</li></ol>
# Create a string object '''text = '"Seneca"''' in the Python Interactive shell and study the string methods: '''text.find()''', '''text.count()''' using the built-in help() function.
[[Category:OPS435-Python]][[Category:rchan]]
1,760
edits

Navigation menu