Recent projects

암거나 만든거

Python · an anonymous user
2 minutes ago
import random one=[0,0,0,0,0,0,0,0,0,0] check=(0) maxcount=(0) nb=(0) for i in range(100): computer=random.randint(1,10) one[computer-1] += 1

Text

Bash · an anonymous user
3 minutes ago
mkdir Ahmed touch Ahmed

PALESTRA

Python · an anonymous user
3 minutes ago
from reportlab.lib.pagesizes import A4 from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, PageBreak from reportlab.lib import colors from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from repor

rush 04 ok nouria while appele avec fonction

C · an anonymous user
4 minutes ago
#include <unistd.h> void ft_putchar(char c) { write(1, &c, 1); } // Fonction pour afficher une ligne void print_line(int x, int y, int index_y) {

test

C · an anonymous user
7 minutes ago
#include<stdio.h> int main() { int num=1; //initializing the variable do //do-while loop { printf("%d\n",num*num/2); num=num+5; //incrementing operation }while(num<=30); return 0;

MIDI HOSSANA MARCO BARRIENTOS

Python · an anonymous user
7 minutes ago
import struct import random class MIDIWriter: def __init__(self, ticks_per_beat=480): self.ticks_per_beat = ticks_per_beat self.events = [] def _encode_varlen(self, val): buf = bytearray()

ㄹㄹ

C++ · an anonymous user
13 minutes ago
#include <iostream> int main() { cout << "Hello world!" return 0; }

BPSK

Octave · an anonymous user
15 minutes ago
% Clear workspace and figures clc; clear; close all; % Parameters N = 10; % Number of bits bp = 0.000001; % Duration per bit (1 microsecond) fc = 2e6; % Carrier frequency (2 MHz) fs = 100 * fc; % Sampling frequency % 1.

Soham's creation

MySQL · an anonymous user
17 minutes ago
-- create a table CREATE TABLE students ( id INTEGER PRIMARY KEY, name TEXT NOT NULL, gender TEXT NOT NULL, age INTEGER ); -- insert some values INSERT INTO students VALUES (1, 'Ryan', 'M',13); INSERT INTO students VALUES (2, 'Joanna', 'M

struct & union

C · Dongjoon
21 minutes ago
#include <stdio.h> // 1. 구조체 (struct) struct MyStruct { char c; // 1바이트 int i; // 4바이트 double d; // 8바이트 }; // 2. 공용체 (union)

zuoye

C · an anonymous user
22 minutes ago
#include <stdio.h> int main() { printf("Hello world!\n"); return 0; }

include studio.h

C · sang1213
25 minutes ago
#include <stdio.h> int main() { int num=0b11010; printf("10진수: %d\n", num); printf("8진수: %o\n", num); printf("16진수: %x\n", num); return 0; }

New

Python · an anonymous user
26 minutes ago
#!/usr/bin/env python3 import sys import sqlite3 import random import logging import asyncio import re import json import math import requests

New

Python · an anonymous user
26 minutes ago
#!/usr/bin/env python3 import sys import sqlite3 import random import logging import asyncio import re import json import math import requests

1

Python · an anonymous user
26 minutes ago
import random import webbrowser import os def generate_problem(): # 随机选题型:0-小数÷整数,1-整数÷小数,2-小数÷小数 typ = random.choice([0, 1, 2]) if typ == 0: dividend = round(random.uniform(0.1, 99.9), 1) divisor = random.randint(1, 9)

Main

Python · an anonymous user
29 minutes ago
#!/usr/bin/env python3 import sys import sqlite3 import random import logging import asyncio import re import json import math import requests

Splitting digits

Python · RealSaitama
35 minutes ago
# https://oeis.org/A193238 def is_prime(n): for d in range(2, int(n**0.5) + 1): if n % d == 0: return 0 return 1 if n > 1 else 0 def f(n): if n < 10:

Rissa

Python · an anonymous user
35 minutes ago
from reportlab.lib.pagesizes import A4 from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Table, TableStyle, PageBreak from reportlab.lib import colors from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle from repor

generate.py

Python · an anonymous user
37 minutes ago
import uuid def generate_kicad_uuid(): return str(uuid.uuid4()) def create_mullard_kicad_sch(output_filename="mullard_5_10.kicad_sch"): # Nagłówek formatu KiCad 7/8/9 sch_content = f"""(kicad_sch (version 20231120) (generator "Pyth

merge_sort

Python · an anonymous user
37 minutes ago
def merge_sort(arr): if len(arr)<=1: return arr mid=len(arr)//2 left=merge_sort(arr[:mid]) right=merge_sort(arr[mid:]) return merge(left,right)