Skip to content

Instantly share code, notes, and snippets.

@vbe0201
vbe0201 / ackermann.py
Created October 12, 2018 16:08
An implementation of the Ackermann function in Python.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import time
class Ackermann:
def __init__(self):
self.count = 0
@vbe0201
vbe0201 / music_bot_example.py
Last active October 4, 2025 12:26
A simple music bot written using discord.py rewrite and youtube_dl.
# -*- coding: utf-8 -*-
"""
Copyright (c) 2019 Valentin B.
A simple music bot written in discord.py using youtube-dl.
Though it's a simple example, music bots are complex and require much time and knowledge until they work perfectly.
Use this as an example or a base for your own bot and extend it as you want. If there are any bugs, please let me know.
@vbe0201
vbe0201 / calculator_python.py
Last active June 21, 2024 15:06
A shit calculator written in Python.
"""
Ein Taschenrechner in Python, welcher wichtige Grundlagen dieser Sprache praktisch angewandt aufzeigen soll.
(c) Vale 2018
https://twitch.tv/itsvaleee
Entstanden in einem Python-Tutorial für Neueinsteiger in diese Sprache.
"""
# Wir erstellen eine Klasse Calculator, in welcher alles anhand von 2 Zahlen ausgerechnet wird.