fh1
Active Coder
Hello! Im currently making a admin panel. Im having trouble finding a command that runs a line of code again.
if you dont know what i mean then i'll explain. So i want the last line of code to tun 6 again. Please tell me if there is a command or something for that
Code:
kicklogs = []
banlogs = []
enter_user = input("Enter your username please: ")
enter_pass = input("Enter your password please: ")
print(f"Welcome {enter_user}")
selectChoice = input("Press B to look at bans. Press K to look at kicks. Press C to look at command to execute")
if selectChoice == "b" or selectChoice == "B":
print(f"{banlogs}")
addban = input("Type in a user(s) to log a ban: ")
append.banlogs(addban)
print(f"You have logged {addban}.")