What do you want to save?
Add Code snippet
New code examples
-
Assembly 2021-09-15 03:51:01
discord bot remove message
import discord.ext bot = commands.Bot(";") @bot.event async def on_message(message): if message.content.upper().startswith(";SAY"): args = message.content.split(" ") await bot.send_message(message.chann... Add solution -
Python 2021-09-12 00:03:02
Python - Modify Strings
a = "Hello, World!" print(a.upper()) Add solution -
Python 2021-09-10 07:28:01
finding all vowels in a string python
def find_all_vowels(Word: str): if Word == None or Word == "": raise Exception("The arguments 'Word' is None or empty") vowles_in_Word = [] Word = Word.upper() Vowles_list = ["A","E","I&... Add solution -
Python 2021-09-03 13:30:01
python roll dice 100 times graph results
import numpy as np import random import matplotlib.pyplot as plt def die_roll(rollnum, maxdots=6, ausgabe=""): all_rolls = np.random.randint(1, maxdots+1, size=rollnum) if "T" in ausgabe.upper(): i = 1 ... Add solution -
TypeScript 2021-09-01 09:55:01
convert all size units to terabytes in python
def convertFloatToDecimal(f=0.0, precision=2): ''' Convert a float to string of decimal. precision: by default 2. If no arg provided, return "0.00". ''' return ("%." + str(precision) + "f") % f def fo... Add solution
Best helpers
Ranking is empty