Then there can not be a repeated edge in a path. If an edge occurs twice in the same path, then both of its endpoints would also occur twice among the visited vertices.
Can a path repeat a vertex?
The degree of a vertex is the number of edges incident with that vertex. A path is a sequence of vertices with the property that each vertex in the sequence is adjacent to the vertex next to it. A path that does not repeat vertices is called a simple path.
In which repeated edge is allowed?
Path in Graph Theory-
Neither vertices (except possibly the starting and ending vertices) are allowed to repeat. Nor edges are allowed to repeat.