I am new to python
i am trying to return True if the strs are the same (including lettercase), and False otherwise.

def abc(str, str):

x = raw_input()
y = raw_input()


return x==y

i have no idea how to compare two strings, is there code for getting how many letters in a string? what i've got here, is this gonna work?

Also i have another question
i am also trying to return the width (in pixels) of the picture that will be used to display the str. Each character in the str requires a width of 10 pixels.

for this question, what kinds of code do i have to use to get size of strings or set the size