# Revision history [back]

As the error message, says, there is a problem with the indentation of your code, your 3 lines must start in the same row, like this:

import networkx as nx
FG=nx.Graph()


not like this:

import networkx as nx
FG=nx.Graph()


As the error message, says, there is a problem with the indentation of your code, your 3 lines must start in the same row, like this:

import networkx as nx
FG=nx.Graph()


not like this:

import networkx as nx
FG=nx.Graph()


This is a feature of Python: "statement grouping is done by indentation instead of beginning and ending brackets".

As the error message, says, there is a problem with the indentation of your code, your 3 lines must start in the same row, like this:

import networkx as nx
FG=nx.Graph()


not like this:

import networkx as nx
FG=nx.Graph()


This is a feature of Python: Python (the programming language on which Sage is based): "statement grouping is done by indentation instead of beginning and ending brackets".

As the error message, says, there is a problem with the indentation of your code, your 3 lines must start in the same row, column, like this:

import networkx as nx
FG=nx.Graph()

import networkx as nx