mirror of
https://github.com/VitaAetaerna/SubnetExerciseGenerator.git
synced 2025-10-13 13:34:49 +02:00
Update main.py
This commit is contained in:
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")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user