# Make a 4-character string, and assign it to a name
name = "youssef"

# Length
# print(len(name))

# The first item in S, indexing by zero-based position
# print(name[0])

# The last item from the end in name
# print(name[len(name) - 1])

# The second-to-last item from the end
# print(name[len(name) - 2])

# Slice of name from offsets 0 through 2 (not 3)
# print(name[0:3])

# Everything past the first (1:len(S))
# print(name[1:])

# Everything but the last
# print(name[:len(name) - 1])

# Concatenation
# print(name + ' ' + 'elbeqqal')

# repetition
print(name * 2)
