C

@cmalanda

Numpy array

Python
3 weeks ago
import numpy as np # creating 1D array arr1=np.array([1,2,3,4,5]) print("1D array",arr1) #addition :add 5 to each element arr_add = arr1+5 print("after addition",arr_add) #subtraction:subtract 2 from each element arr_sub= arr1-2 print("after subtrac

Despedida_Actividades

Python
3 weeks ago
# Monika After Story - Despedidas y Saludos de Actividades # Submod completamente compatible con MAS v0.12.18-Dlx init offset = 1 default persistent._activity_submod_last_activity = None # =========================================================

Jesús zamir código en c para verificar tu edad

C
3 weeks ago
#include <stdio.h> int main() { int edad; printf("Selecciona tu edad: "); scanf("%d", &edad); if (edad >= 18) { printf("Tienes %d años: eres mayor de edad.\n", edad);

Perro

Java
3 weeks ago
//1. Paquete //Esto es un comentario de una linea /*Este es un comentario de varias lineas*/ //Imports sirven para import java.util.*;//Sirve para cargar todas las funciones de utileria.... import java.util.scanner;//Sirve para leer datos desde el

Trabalhando com uma tabela no banco de dados

MySQL
3 weeks 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');

alunmos, filtrados x genero

SQL
3 weeks 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');

Buscador primo con tal índice

C
3 weeks ago
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <math.h> #include <time.h> #include <string.h> // BigInt nativo de 128 bits typedef unsigned __int128 bigint_t;

Maquinaexp

Java
3 weeks ago
import javax.swing.JOptionPane; public class MaquinaExpendedora { public static void main(String[] args) { int opcion; double precio = 0; double dinero; double cambio;

College

MySQL
3 weeks ago
CREATE DATABASE college; USE college; CREATE TABLE student ( rollno INT PRIMARY KEY, name VARCHAR(50), marks INT NOT NULL, grade VARCHAR(1), city VARCHAR(20) );

clc; clear; close all; % Binary message data = [1 0 1 1 0 1]; % Parameters fs = 100;ask modulation

Octave
3 weeks ago
clc; clear; close all; % Input binary data data = [1 0 1 1 0 1 0 1]; % Parameters samples = 100; fc = 5;

Porn hub (construction)

Lua
3 weeks ago
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Rayfield Example Window", Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to us

TALLER 1 PROGRAMACION

Python
3 weeks ago
a1 = 5 b1 = 2 c1 = 3 d1 = 5 print(F"El resultado es: {a1+b1*c1-d1}") a2 = 5 b2= 2 c2 = 3 d2 = 5

project 1 matlab basics

Octave
3 weeks ago
a=100 b=100; b A=[1 2;3 4] B=[1,2,3;3,4,5] C=1:10 size(C) A=1:10 1:3:10 A=12;

tecnologia mate

Python
3 weeks ago
print (4*3-5*2+3*(-1)) print(5*(8-2*7+1)) print(4-6*(3+2*4)) print(4*(3-5)+(12+8)*3) print(2+4**3) print((2+4)**3) print(2**10) print(36 % 8) print(36 % 7) print(36 % 6)

Sesion 5

Python
3 weeks ago
word ="programming" print (word) # Canvert to ALL CAPS. (Method: upper) word.upper() word= word.upper() print (word) # Convert the first letter to upper case and the others letters to lower case (Method:capitalize) word.capitalize()

ㄱ

SQL
3 weeks ago
CREATE TABLE 사원 ( 사원번호 INTEGER PRIMARY KEY, 사원이름 char(20) NOT NULL, 직급 char(30) NOT NULL, 급여 integer, 전화번호 char(30), 부서번호 integer ); INSERT INTO 사원 VALUES (1001, '이수민', '대리', 500000, '123-1234', 1); INSERT INTO 사원 VALUES (1002, '김창섭', '과

hi.asm

Assembly
3 weeks ago
section .data msg db "Hello world!", 0ah section .bss section .text global _start _start: mov rax, 1 mov rdi, 1 mov rsi, msg

wachan

MySQL
3 weeks ago
CREATE TABLE user( id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR (100) NOT NULL, email VARCHAR(100) UNIQUE NOT NULL, gender ENUM('Male','Female','Other'), date_of_birth DATE, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP );

BOJ 12865: 평범한 배낭

Java
3 weeks ago
import java.util.*; import java.lang.*; import java.io.*; // The main method must be in a class named "Main". class Main { public static void main(String[] args) { Solution solution = new Solution(); // ========================

Educational Hub

SQL
3 weeks ago
--1.TABLE CREATION-- CREATE TABLE Institution ( InstitutionID INT AUTO_IMCREMENT PRIMARY KEY, Name VARCHAR(255) NOT NULL, Address VARCHAR(255), Phone VARCHAR(20), Email VARCHAR(100), Website VARCHAR(100), Type VARCHAR(50)