C

@cmalanda

catita

SQL
4 days ago
CREATE TABLE cargo( idCargo int not null, Descricao varchar(40), Salario float, primary key (idCargo) ); CREATE TABLE funcionario( idEmpregado int not null, idCargo int, nome varchar(40),

temp. py

Python
4 days ago
# -*- coding: utf-8 -*- Editor de Spyder Este es un archivo temporal. print(""*) nombre = "Juan" saludo = "Hola " print (saludo + nombre)

hellooooo

C++
4 days ago
#include <iostream> int main() { std::cout << "Hello world!" << std::endl; std::cout << "hello" << std::endl; std::cout << " see you soon" << std::endl; return 0; }

Funzioni: somma

C
4 days ago
#include <stdio.h> int leggi (int min,int max){ int temp; printf("Inserisci un numero:\n"); scanf("%d",&temp); return temp; } int somma(int a,int b){ return a+b;

SANJUANXXIII

Python
4 days ago
print("") print(round(5.6789, 2)) print(round(3.14159, 1)) print(round(4.7)) print(round(2.3)) print(round(-2.456. 1)

TECNICA SANJUANXXIII

Python
4 days ago
print ("") print (round(5.6789, 2)) print (round(3.14159, 1)) print(round (4.7)) print (round(2.3)) print(round(-2.456,1)) print ("") import math print(math.floor(6.8))

vacinacao-sql

MySQL
4 days ago
-- CREATE DATABASE vacinacao; -- USE vacinacao; CREATE TABLE pessoas( cod_pessoa int unsigned auto_increment primary key, nome_pessoa varchar(500) not null, idade int not null ); -- show tables;

hello

C++
4 days ago
#include <iostream> int main() { std::cout << "Hello world!" << std::endl; std::cout << "hello" << std::endl; std::cout << "salut" << std:: endl; return 0; }

11/10 튜플 딕셔너리

Python
4 days ago
# 변하지 않는 자료 tuple = (10, 20, 30) () (1,) print(tuple[1]) print(tuple[0:2]) print(len(tuple)) # Key & Value 서로 짝이 있는 자료 dict = {'apple': '사과'}

11/10 튜플 딕셔너리

Python
4 days ago
# 변하지 않는 자료 tuple = (10, 20, 30) () (1,) print(tuple[1]) print(tuple[0:2]) print(len(tuple)) # Key & Value 서로 짝이 있는 자료 dict = {'apple': '사과'}

banco de dados funcinonarios

MySQL
5 days ago
CREATE TABLE funcionarios ( id INT AUTO_INCREMENT PRIMARY KEY, nome VARCHAR(100), departamento VARCHAR(50), salario DECIMAL(10,2), data_admissao DATE ); INSERT INTO funcionarios (nome, departamento, salario, data_admissao) VALUE

a2

Python
5 days ago
n = int(input()) total_sum = 0 inc = 1 while True: if inc % 2 != 0 and inc % 3 != 0: if total_sum + inc > n: break total_sum += inc inc += 1

Listas

Python
5 days ago
#Lista de frutas frutas = ['Uva' , 'M0r@ngO', 'Kiwi'] #Pegar um item da lista primeira = frutas[0] segunda = frutas[1] terceira = frutas[2] print(primeira)

hello

C++
5 days ago
#include <iostream> int main() { std::cout << "Hello world!" << std::endl; std::cout << "hello" <<std::endl; return 0; }

4secuenciales

C++
5 days ago
#include <iostream> int main() { int a,b; std::cout<<"introduce el diametro del circulo" std::cin>>a; b=a*3.14; std::cout << "la circuenferencia es" <<b; c=a+b; return 0; }

TIENDA09112026

SQL
5 days ago
-- create a table CREATE TABLE students ( id INTEGER PRIMARY KEY, name TEXT NOT NULL, gender TEXT NOT NULL ); -- insert some values INSERT INTO students VALUES (1, 'Ryan', 'M'); INSERT INTO students VALUES (2, 'Joanna', 'F'); -- fetch some val

TP4.2

Python
5 days ago
def aire_rectangle(cig, csd): longueur = abs(csd[0] - cig[0]) largeur = abs(csd[1] - cig[1]) return longueur * largeur def min_max(tuple): minimum = min(tuple) maximum = max(tuple) return (minimum, maximum)

hello

C++
5 days ago
#include <iostream> int main() { std::cout << "Hello world!" << std::endl; std::cout << "hello" << std::endl; std::cout << "hello"<< std::endl; return 0; }

Sesion1:MetodoRindex( ): P.10811

Python
6 days ago
print("") # Cadena de ejemplo frase = "Aprender Python es fácil. Python es útil. Python está en todos lados." # Subcadena a buscar buscar = "Python" # Usar rindex para encontrar la última aparición try:

alchemist08112026

C
6 days ago
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <windows.h> // 암호화된 FLAG (실제 FLAG: CTF{P34k_4lch3my_4nt1_d3bu9}) // 키값 0x77로 XOR 암호화된 바이트 배열 unsigned char enc_flag[] = { 0x34, 0x23, 0x31, 0x0c, 0x27, 0x44, 0x43, 0x3c, 0