hello , i am waay new to python and programming.I'm trying to write program that stores username and password in txt but I don't seem to get what my problem is.
userName=str(raw_input ("Username :"))
passWord=str(raw_input("password : "))
stuData={}
stuData[userName ]=[passWord]
print stuData
f=open("student.txt","a")
f=write(stuData)
f=close()