python memuat file txt dan menetapkan variabel

with open('your_text_file.txt', 'r') as f:
    username = f.readline()
    password = f.readline()
Dizzy Duck