Fill in the Blanks Completa el Código: Reto de ProgramaciónOnline version Pon a prueba tus habilidades de programación completando fragmentos de código. by Alex Diaz Araos 1 Hola Mundo println print echo ( " , " ) 2 Juan print echo nombre nombre = " " ( ) 3 </header> </head> <h1> <header> <head> </h1 Mi primer encabezado 4 blue text-color h1 font-color color txt-color { : ; } 5 console consolelog log printconsole print . ( " Mensaje en consola " ) ; 6 <paragraph> <p> </p </paragraph> Esto es un párrafo . 7 break while edad pass True isnumber isdigit isalpha continue : edad = input ( " ingresa tu edad : " ) if . ( ) : int ( edad ) else : print ( " La edad debe ser un número " ) 8 font-weight weight font-black font bold black p { font - size : 16px ; : ; } 9 echo return def function print saludar ( nombre ) : " Hola , " + nombre ( saludar ( " Luis " ) ) 10 <li> </li> </ul </item> <item> <ul> </item> <li> <item> </li> <ol> </ol> Manzana Banana 11 background-color color font-color background div { : yellow ; } 12 char String str let $ ciudad = " La Serena " ; 13 4 1 2 5 3 docentes = [ 'Jorge' , 'Francisco' , 'Alex' , 'Rodrigo' , 'Javier' ] print ( docentes [ ] ) 14 enumerate numeros elementos in range for i ( 5 ) : print ( i ) 15 rel link ref href = " https : / / www . inacap . cl " >Ir a Inacap< / a > 16 align text top aligment margin center margin-up mt p { - : ; - : 10px ; } 17 2 equals 0 2 == 0 2 = 0 2 === 0 def es_par ( numero ) : if numero % : return True else : return False print ( es_par ( 4 ) ) 18 border caja solid.border 1px black solid . { : ; } 19 log cmd console Mensaje terminal.log shell.log console.log ( " " ) ; 20 if ("10" === 10 "==10 "=10 ) { alert ( " Son iguales " ) ; } 21 (a+b) a + b (a)+(b) function(a+b) const suma = ( a , b ) = > ; 22 getDOM.titulo getElementDOM getDocumentDOM getElementById titulo document . ( " " ) ; 23 addListenerEvent addEventListener miFuncion addEvent click addListener boton . ( " " , ) ; 24 getHtmlById getModifyByID saludo getElementById innerHTML Hola Inacapino document . ( " " ) . = " " ; 25 http django from HttpRespons Module import include . 26 def Get Post HttpResponse request return function response HttpRequest inicio ( ) : ( " Soy Inacapino " ) 27 response begin postBack request render blender return ( , " inicio . html " ) 28 name views.inicio urls.inicio path rute templates.inicio ( '' , , = 'inicio' ) 29 from import include 'ventas.urls' path ( 'ventas / ' , ( ) ) , 30 CASCADE ForeignKey CharField max_length True primary_key BigAutoField class Libro ( models . Model ) : id = models . ( = True ) titulo = models . ( = 100 ) autor = models . ( Autor . null = , on_delete = models . ) 31 makemigrations execute migrations initial migrations manage.py manage.py execute migrate migrat python python 32 titulo autor libros id while libro for enumerate { % in % } Código : { { libro . } } - { { libro . } } ( { { libro . } } ) < / li> { % endfor % } < / ul > 33 Libro ModelForm fields model 'id','titulo','autor' columns class LibroForm ( forms . ) : class Meta : = = [ ] 34 contains find objects columns filter Libro titulo__contains search libros = . . ( = 'Python' ) 35 get_object_ALL get_object_or_404 get_object_or get_object_or_NULL libro = ( Libro , id = libro_id ) 36 as_p submit post csrf_token form " > { % % } { { . } } " >Guardar< / button> < / form > 37 detalle name <id:int> <int:id> path ( 'libro / / ' , views . , = 'detalle' ) 38 try except FileNotFoundError procesar_datos except ZeroDivisionError except nullPointerException except Exception as except ValueError finally def procesar_datos ( ) : : with open ( " datos . txt " , " r " ) as archivo : contenido = archivo . readlines ( ) numeros = [ int ( dato ) for dato in contenido ] print ( numeros [ 8 ] ) resultado = numeros [ 0 ] / numeros [ 3 ] print ( f " Resultado de la división : { resultado } " ) as e : print ( f " Error : El archivo no fue encontrado . ( { e } ) " ) as e : print ( f " Error : No se pudo convertir un dato en un número . ( { e } ) " ) as e : print ( f " Error : División por cero no permitida . ( { e } ) " ) e : print ( f " Error inesperado : { e } " ) : print ( " El procesamiento de datos ha terminado . " ) ( )