📄 ссс.py v1 ass @zero_tolerance91
def calculate_sum_for_30_days():
# Ввод начального значения x
x0 = float(input("Введите начальное значение x: "))
# Начальные значения
x_current = x0
y_current = 0.001 * x0 # 0.1% от начального x
# Первый день
total = y_current # сумма накоплений
print(f"День 1: y = {y_current:.4f}, x = {x_current:.2f}, накоплено = {total:.4f}")
# Дни со 2 по 30
for day in range(2, 61):
# Обновляем x (предыдущий x + предыдущий y)
x_current = x_current + y_current
# Обновляем y (предыдущий y + 0.01% от нового x)
y_current = y_current + 0.0001 * x_current
# Добавляем к общей сумме накоплений
total += y_current
print(f"День {day}: y = {y_current:.4f}, x = {x_current:.2f}, накоплено = {total:.4f}")
print(f"\nИТОГО накоплено за 30 дней: {total:.4f}")
return total
# Запуск программы
if __name__ == "__main__":
calculate_sum_for_30_days()
GitGgram
📁 xz 👤 @zero_tolerance91 Проект создан
📄 fg.py v1 xz @zero_tolerance91
import pygame
import random
import sys
import math
# Инициализация
pygame.init()
pygame.mixer.init()
# Экран
WIDTH, HEIGHT = 1000, 700
screen = pygame.display.set_mode((WIDTH, HEIGHT))
pygame.display.set_caption("УБИВАЮ БАГИ | 18+")
# Цвета
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
RED = (255, 0, 0)
GREEN = (0, 255, 0)
YELLOW = (255, 255, 0)
ORANGE = (255, 165, 0)
GRAY = (128, 128, 128)
DARK_GRAY = (64, 64, 64)
BROWN = (101, 67, 33)
PINK = (255, 192, 203)
# Часы
clock = pygame.time.Clock()
FPS = 60
# Игрок
player_width = 80
player_height = 70
player_x = WIDTH // 2 - player_width // 2
player_y = HEIGHT - 150
player_speed = 8
# Стрельба
bullets = []
bullet_speed = -18
bullet_width = 6
bullet_height = 15
shoot_cooldown = 0
is_shooting = False
shoot_timer = 0
# Баги
bugs = []
bug_width = 50
bug_height = 45
bug_speed = 3
spawn_event = pygame.USEREVENT + 1
pygame.time.set_timer(spawn_event, 500)
# Счет
score = 0
level = 1
killed = 0
font_large = pygame.font.Font(None, 48)
font_medium = pygame.font.Font(None, 36)
font_small = pygame.font.Font(None, 24)
font_meme = pygame.font.Font(None, 42)
# Злые надписи
angry_texts = [
"КАЛАШ ЕБАШИТ!",
"СУКА БАГИ",
"СОСИТЕ МРАЗИ",
"ПИДОРАСОВ УБИВАЮ",
"НАХУЙ БАГИ",
"КРОВАВЫЙ КОТ",
"В ПРОД НЕ ПУЩУ",
"ГИТ ИГНОР",
"ФИКСЮ В МЯСО",
"РАЗЪЕБАШУ"
]
current_text = random.choice(angry_texts)
text_timer = 30
# Звуки
try:
shoot_sound = pygame.mixer.Sound("sounds/kalash.wav")
shoot_sound.set_volume(0.3)
except:
shoot_sound = None
GitGgram
📁 xz 👤 @zero_tolerance91 Проект создан
📄 zippulya/.gitignore v1 xz @zero_tolerance91
# Мусор
.idea/
.venv/
__pycache__/
*.pyc
*.log
*.tmp
.DS_Store
GitGgram
📁 xz 👤 @zero_tolerance91 Проект создан
📄 zippulya/main.py v1 xz @zero_tolerance91
def main():
print("Hello World")
if __name__ == "__main__":
main()
GitGgram
📁 test_bot 👤 @Jorik_Mosk Проект создан
📄 main.cpp v1 test_bot @Jorik_Mosk
#include <iostream>
int main() {
std::cout << "Hello, GitGram!\n";
return 0;
}
👍1