No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
#I have to revise this code below to allow the teacher to perform these calculations for any number of students. The teacher will be asked if she wants to calculate the average of another student. If she does, the program will allow her to input his / her test grades … |
|
[code] #reg.py #Choose username and password def regis(): userpass = open("userpass.txt","w") userpass1 = userpass.write(raw_input("Please select a username: ") + "\n") password1 = userpass.write(raw_input("Select a password: ")) userpass.close() #end of reg.py #login.py # Should i import reg before this function or is it ok to do it in the function? # … |