Python Forum
how can I initialize this code ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can I initialize this code ?
#2
all of these lines needs to be dedented 4 spaces to the left

to this
def main():
    gg = Graph()
    gg.shortpath('C', 'I')

if __name__ == '__main__':
    main()
Recommended Tutorials:
Reply


Messages In This Thread
how can I initialize this code ? - by grandpapa10 - Jan-22-2019, 12:57 PM
RE: how can I initialize this code ? - by metulburr - Jan-22-2019, 01:45 PM
RE: how can I initialize this code ? - by metulburr - Jan-22-2019, 02:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  2 ways to initialize a list with all zero quazirfan 2 1,930 Aug-06-2021, 03:27 PM
Last Post: deanhystad
  Fatal Python error: init_sys_streams: can't initialize sys standard streams Attribute FatalPythonError 24 59,371 Aug-22-2018, 06:10 PM
Last Post: FatalPythonError

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020