Presumably you mean this?
switches_path = {'s1': [], 's2': [], 's3': [], 's4': []}
adjs = {'s1': ['s2', 's4'], 's2': ['s1', 's3'], 's3': ['s2', 's4'], 's4': ['s1', 's3']}
More Related Contents:
- What is the best way to print this matrix without a for loop [closed]
- How to write this code without using pandas?
- How can I make a Python script standalone executable to run without ANY dependency? [duplicate]
- Understanding dict.copy() – shallow or deep?
- Why can’t non-default arguments follow default arguments?
- Plot a horizontal line using matplotlib
- How do I unescape HTML entities in a string in Python 3.1? [duplicate]
- libxml install error using pip
- How can I check the extension of a file?
- Getting attributes of a class
- nonlocal keyword in Python 2.x
- Create PDF from a list of images
- Replacing Pandas or Numpy Nan with a None to use with MysqlDB
- Why aren’t superclass __init__ methods automatically invoked?
- Why does Python’s __import__ require fromlist?
- Inserting a Python datetime.datetime object into MySQL
- WindowsError: [Error 126] The specified module could not be found
- Add column with number of days between dates in DataFrame pandas
- Basic program to convert integer to Roman numerals?
- EOFError: EOF when reading a line
- Python: Using vars() to assign a string to a variable
- How can I set the mouse position in a tkinter window
- Redirect subprocess stderr to stdout
- Read a file line by line from S3 using boto?
- Ranking order per group in Pandas
- Rounding up to nearest 30 minutes in Python
- Are Python built-in containers thread-safe?
- Normed histogram y-axis larger than 1
- Managing resources in a Python project
- Download and decompress gzipped file in memory?