enviar para repositorio

This commit is contained in:
Thiago
2026-04-08 22:12:32 -03:00
commit ac6eeab62d
10 changed files with 89 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import utilidades
import os
ip = input("digite um endereço de IP: ")
if utilidades.validar_ip(ip)==False:
print("endereço de IP invalido")
else:
status = os.system(f"ping -n 1 {ip}")
if status == 0:
print("endereço foi alcançado")
utilidades.imprimir_ip(ip)