My task is to get the broadcast address and network address, but I will have to use the subnetMask value and ip given by the user. I can't includes import or import so I could I change the last elements and add points and it should not be complicated because I am a beginner. Here is right I am:
adressIP = (input("Enter a IP adress: "))
subnetMask = (input("Enter a subnet mask: "))
valueIntSubnetMask = subnetMask[1:]
convertedBinaryValue = ""
for d in adressIP.split("."):
b = bin(int(d))[2:].zfill(8)
convertedBinaryValue = convertedBinaryValue + b + "."
convertedBinaryValue = convertedBinaryValue[:-1]
maxIP = valueIntSubnetMask : 32].replace()
minIP = ""
for