notas-y-apuntes

Dia 12: debug my code.

Ahora que hemos aprendido mucho, nuestras habilidades para debuggear estan mejoramdo cada dia. Parte de la diversion de programar es encontarr esos problemas y aplastar esos bugs.

Tendras un codigo y el trabajo es conseguir los errores y solucionarlos:

print("100 Days of Code QUIZ")
print()
print("How many can you answer correctly?)
ans1 = ("What language are we writing in?")
if ans1 == "python":
  print("Correct")
else:
  print("Nope🙈
ans2 = input("Which lesson number is this?")
if(ans2>12):
print("We're not quite that far yet")
else:
  print("We've gone well past that!")
elif(ans2==12):
  print("That's right!")

La solucion estará en el main.py