# name = "Mwaniki Mwangi" + "Roy"
# marks = '45+45+56+56+45'
# phone_number = "0706277341"
# print(phone_number)
#
#  # typcasting
#
# phone_number = int(phone_number)
# print(phone_number)
# print(type(phone_number))
# phone_number = str(phone_number)
# print(type(phone_number))


# String operations
first_name = "Roy"
second_name = "Mwangi"

# concatenating strings
# we use plus operation to concat strings

full_name = first_name +"     " + second_name
# print(full_name)
print(first_name)
print(first_name. title())
print(first_name. upper())
print(first_name. lower())
print(first_name. split())
print(first_name. count("a"))

gender = "MFMFMFMFMFMFMFMFMFMFMFMFMFMFMMMMMMMFFFF"
print(gender.swapcase())
print(gender.count("M"))