"""
# sentence = 'The quick brown fox jumped'
# sentence -> variable
# 'The quick brown fox jumped' -> string
# = -> assignment
"""

# sentence = 'The quick brown fox jumped'
# sentence_two = sentence.upper()   # .upper() is a keyword or reserved word.


# print(sentence)
# print(sentence_two)

# sentence = 'the quick brown fox jumped'.capitalize() #.capitalize and add ()
# print(sentence)

# sentence = 'the quick brown fox jumped'.title()
# print(sentence)

# sentence = 'the Quick Brown fOx jumped'
# print(sentence.lower())


""" 

# str.upper()
# Return a copy of the string with all the cased characters [4] converted to uppercase. Note that s.upper().isupper() might be False > if s contains uncased characters or if the Unicode category of the resulting character(s) is not “Lu” (Letter, uppercase), but e.g. > “Lt” (Letter, titlecase).

# str.capitalize()
# Return a copy of the string with its first character capitalized and the rest lowercased.

# str.lower()
# Return a copy of the string with all the cased characters [4] converted to lowercase.

"""

#assignments and practice
"""


"""



# videoHow to Access Portions of Strings in Python

# The quick brown fox jumped
# T => 0
# h => 1
# e => 2
# ' ' => 3

# first = starter_sentence[0] # [0:100] is a range. ranges does not include the end one (100). # the blank means that it goes to the end or begining[:3]
# second = starter_sentence[1] # Immutability
# third = starter_sentence[2]
# print(starter_sentence)
"""these above are saying the first word is starter sentence [0]"""

# starter_sentence = 'The quick brown fox jumped over the lazy dog'

# new_sentence = starter_sentence[0:3] + starter_sentence[15:19] + starter_sentence[19:32] + starter_sentence[41:]
                                           
# print(new_sentence)



