"%(class)s" in django
owner = models.ForeignKey(TaskUser, related_name="%(app_label)s_%(class)s_ownership")
"%(class)s" in django
owner = models.ForeignKey(TaskUser, related_name="%(app_label)s_%(class)s_ownership")
"%(class)s" in django
notas = []
for indice in range(1,6):
while True:
nota = int(input("Introduce la nota %d:" % indice))
if nota>=0 and nota<=10: break
notas.append(nota)
# Muestro resultados
print("Notas: ",end="")
for nota in notas:
print(nota," ",end="")
print()
print("Nota media: ",sum(notas)/len(notas))
print("Nota max: ",max(notas))
print("Nota min: ",min(notas))
"%(class)s" in django
notas = []
for indice in range(1,6):
while True:
nota = int(input("Introduce la nota %d:" % indice))
if nota>=0 and nota<=10: break
notas.append(nota)
# Muestro resultados
print("Notas: ",end="")
for nota in notas:
print(nota," ",end="")
print()
print("Nota media: ",sum(notas)/len(notas))
print("Nota max: ",max(notas))
print("Nota min: ",min(notas))
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us