num = input("escolha um valor de 0 a 10")
if not num.isdigit():
print("Digite apenas numeros!")
print(num)
#https://pt.stackoverflow.com/q/210010/101
bnVtID0gaW5wdXQoImVzY29saGEgdW0gdmFsb3IgZGUgMCBhIDEwIikKaWYgbm90IG51bS5pc2RpZ2l0KCk6CiAgICBwcmludCgiRGlnaXRlIGFwZW5hcyBudW1lcm9zISIpCnByaW50KG51bSkKCiNodHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMjEwMDEwLzEwMQ==