title: How to find possible IP-Subnets from list of IP-Addresses in python
body: <p>I have a large list of Public IP-Addresses.
  There are a lot of neighbour Addresses in the list, so I want to combine neighbour Addresses to Subnets.</p>
  <p>example:</p>
  <pre><code>- 104.103.72.184/32 
  - 92.123.194.10/32  
  - 92.123.194.100/32 
  - 92.123.194.105/32 
  - 92.123.194.106/32 
  - 92.123.194.107/32 
  - 92.123.194.108/32 
  - 92.123.194.109/32
  - 92.123.194.110/32
  - 92.123.194.112/32 
  - 92.123.194.114/32 
  - 92.123.194.115/32 
  - 92.123.194.118/32 
  </code></pre>
  <p>The Result should be:</p>
  <pre><code>- 104.103.72.184/32 
  - 92.123.194.10/32  
  - 92.123.194.100/32 
  - 92.123.194.104/29
  - 92.123.194.113/32 
  - 92.123.194.114/31  
  - 92.123.194.118/32 
  </code></pre>
  <p>How can I realize this in Python3?</p>