<｜begin▁of▁sentence｜>### Instruction:
Given an Erdős-Rényi graph with 10 nodes and 20 edges, can you compute the degree distribution and convert it to a string representation using the Histogram.__str__ function in igraph?
### Response:
from igraph import Graph
from igraph.datatypes import Histogram

# Generate a simple graph
g = Graph.Erdos_Renyi(n=10, m=20)
# Compute the degree distribution as a histogram
degree_hist = g.degree_distribution()
# Convert the histogram to its string representation
hist_string = degree_hist.__str__()
print('Degree histogram:', hist_string)
<|EOT|>
