Posts by Diana Vasconcelos Ferreira • 173 points
2 posts
-
13
votes2
answers54909
viewsQ: Encoding utf-8 allows accents?
If we do # encoding: utf-8 in the first line of a Python program, we can make accents in the whole code?
-
4
votes2
answers6881
viewsQ: Graph possible python paths
I have a dictionary, where the key is a vertex and the value is a list of vertices adjacent to the vertex (key). dic = {'A':['B,'C'],'B':['A','C','D'],'C':['A','B','D'],'D':['B','C']} What I want is…