scripts/file_migration_b725a7c.py3
Avoid deeply nested control flow statements. Open
Open
if user_input == "yes":
print("Deleted " + project_name)
cursor.execute("DELETE FROM projects WHERE id = " + project_id)
elif user_input == "no":
print("Setting the Recommended Version ID to -1")
Avoid deeply nested control flow statements. Open
Open
while True:
user_input = input("Delete " + project_name + "? [yes/no] ")
if user_input in ["yes", "no"]:
break
else: