Skip to content

spam #145780

@rafaelcarocaroquintero199-afk

Description

Simular un "bloqueo" de pantalla educativo (para tu propio dispositivo)

import time
from datetime import datetime

def fake_lock():
print("🔒 Simulador de bloqueo (solo demostración)")
tiempo = int(input("¿Cuántos segundos de bloqueo? (Máx 10): "))
if tiempo > 10:
print("¡Demasiado tiempo! Usando 10s por seguridad.")
tiempo = 10

for i in range(tiempo, 0, -1):
    print(f"⏳ Desbloqueo en {i}s...", end="\r")
    time.sleep(1)

print("\n¡Dispositivo desbloqueado! 🎉")
print(f"Hora actual: {datetime.now().strftime('%H:%M:%S')}")

if name == "main":
fake_lock()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions