mirror of
https://github.com/VitaAetaerna/SubnetExerciseGenerator.git
synced 2025-10-18 15:32:41 +02:00
Update main.py
This commit is contained in:
4
main.py
4
main.py
@@ -1,6 +1,6 @@
|
|||||||
import math
|
import math
|
||||||
import random
|
import random
|
||||||
|
print("Made by VitaAeterna and NekoSilvertail https://github.com/VitaAetaerna/SubnetExerciseGenerator/")
|
||||||
def intToDotted(ip):
|
def intToDotted(ip):
|
||||||
# input: ip
|
# input: ip
|
||||||
# determins dotted decimal format for given ip as int
|
# determins dotted decimal format for given ip as int
|
||||||
@@ -154,4 +154,4 @@ if __name__ == '__main__':
|
|||||||
print("\nSubnets:")
|
print("\nSubnets:")
|
||||||
listSubnets(ip, prefix, newprefix)
|
listSubnets(ip, prefix, newprefix)
|
||||||
input("\nPress enter to exit\n")
|
input("\nPress enter to exit\n")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user