import numpy as np import networkx as nx import matplotlib.pyplot as plt def criar_rede_fractal(n_niveis=3): G = nx.Graph() G.add_n...