Ошибка сброса базы данных Oracle - отсутствует orapw [SID]

Попробуйте следующее:

maps =  ['Hanamura',
     'Horizon_Lunar_Colony',
     'Temple_of_Anubis',
     'Volskaya_Industries',
     'Dorado',
     'Junkertown',
     'Rialto',
     'Route_66',
     'Gibraltar',
     'Blizzard_World',
     'Eichenwalde',
     'Hollywood',
     'Kings_row',
     'Numbani',
     'Ilios',
     'Lijiang',
     'Nepal',
     'Oasis']

num = 5

while len(maps) >= num:
    print("Map list:\n")
    for m in maps: # Iterates on the maps list
        print(m)
    print("\n")

    to_remove = input("Remove a map: ")

    try: # Try to remove selected map from the list
        maps.remove(to_remove)
        print("\n{} map removed!\n".format(to_remove))
    except: # An exception occurs if it's not in the list
        print("\nSelected map not in the list!\n")
        pass

print("{} in the list!\n".format(num))
0
задан Praveen Govind 19 January 2019 в 00:22
поделиться