# Loại bỏ ký tự trùng trong chuỗi
def loai_bo_trung_lap(chuoi):
ky_tu_da_xuat_hien = set()
ket_qua = ''
for ky_tu in chuoi:
if ky_tu not in ky_tu_da_xuat_hien:
ket_qua += ky_tu
ky_tu_da_xuat_hien.add(ky_tu)
return ket_qua
# Nhập chuỗi từ người dùng
chuoi = input("Nhập một chuỗi: ")
# Loại bỏ các ký tự trùng lặp
chuoi_moi = loai_bo_trung_lap(chuoi)
# In chuỗi mới
print("Chuỗi sau khi loại bỏ trùng lặp:", chuoi_moi)
Case Studies
Compass Music Platform
A clothing brand wanted to launch a new e-commerce website that would allow customers to browse and purchase their products online. We developed a...
NewsWeek Magazine
A clothing brand wanted to launch a new e-commerce website that would allow customers to browse and purchase their products online. We developed a...
Beauty & Makeup Shop
A clothing brand wanted to launch a new e-commerce website that would allow customers to browse and purchase their products online. We developed a...