Answers for ""%(class)s" in django"

0

"%(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))
Posted by: Guest on October-02-2021
0

"%(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))
Posted by: Guest on October-02-2021
0

"%(class)s" in django

owner = models.ForeignKey(TaskUser, related_name="%(app_label)s_%(class)s_ownership")
Posted by: Guest on June-30-2021

Python Answers by Framework

Browse Popular Code Answers by Language