79570842

Date: 2025-04-12 19:21:51
Score: 2
Natty:
Report link

You can just check if "city" variable is at the last index of the array and break accordingly ie. if all elements are unique.

otherwise you can keep track of the current index and increment it everytime after the selenium code, once it becomes len(cities)-1 you can break the loop.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Swapnil Deshmane