mirror of
https://github.com/VitaAetaerna/SubnetExerciseGenerator.git
synced 2025-01-18 08:31:36 +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 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")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user