fullname = input("nhap ho va ten: ") print(fullname) position = 0 for i in range(len(fullname)): if (fullname[i] == " "): position = i print(position) name = fullname[(position + 1):len(fullname)] print(name)