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