回答編集履歴

1

補足を追加

2020/10/10 00:47

投稿

Daregada
Daregada

スコア11990

test CHANGED
@@ -47,3 +47,17 @@
47
47
  print(*[str(ip) for ip in ipaddress.summarize_address_range(ipaddress.IPv4Address(first), ipaddress.IPv4Address(last))])
48
48
 
49
49
  ```
50
+
51
+
52
+
53
+ ```result
54
+
55
+ 51.18.0.0/21
56
+
57
+ 51.18.16.0/23
58
+
59
+ 51.4.144.174/32
60
+
61
+ 51.4.144.200/32
62
+
63
+ ```