loading...

All 28 Comments

re: Daily Challenge #56 - Coffee Shop
Python def getCoffee(smallChange,type): menu = {'Americ...
re: Daily Challenge #53 - Faro Shuffle
python def Faro(cards): half=len(cards)//2 l, p, sh...
re: Daily Challenge #52 - Building a Pyramid
Python def pyramid(line): if line == 1: print('*') ...
re: Daily Challenge #51 - Valid Curly Braces
Python import re def areCurlyBracesMatched(s): if len(r...
re: Daily Challenge #50 - Number Neighbor
python def number(n): if len(n.replace('-','')) >= 1...
re: Daily Challenge #49 - Dollars and Cents
Python print('$%.2f' %(float(input('Give me money '))))
re: Daily Challenge #47 - Alphabets
Python import string def alphabet_position(text): text ...
re: Daily Challenge #46 - ???
Python def remove_(text): return text.replace('?','') pri...
re: Daily Challenge #45 - Change Machine
Python def change(coin,coins = [25,10,5,1]): p=0 c...
re: Daily Challenge #44 - Mexican Wave
Python def wave(string): s=[i for i in string] for ...
re: Daily Challenge #54 - What century is it?
python def century (year): cent = str((year // 100) + 1...
re: Daily Challenge #41 - Greed is Good
Python import random def pounts(p): if p == 1: ...
re: Daily Challenge #40 - Counting Sheep
Python def count_sheep(n): return ''.join(map(lambda n:...
re: Daily Challenge #39 - Virus
Python def proofread(string): if string.rstrip()[:-1].c...
re: Daily Challenge #38 - Middle Name
Python def initialize_names(name): name= name.split(' '...
re: Daily Challenge #36 - Let's go for a run!
Python def runningPace(distance, time): time= time.spli...
re: Daily Challenge #35 - Find the Outlier
Python def find_outlier(integers): a= sum(map(int,[inte...
re: Daily Challenge #32 - Hide Phone Numbers
Python def hide(n): n = n.replace('-', '') if len(n...
re: Daily Challenge #31 - Count IPv4 Addresses
Python IPv4 and IPv6: def ipsBetween(s,e): #Ipv4 if s...
re: Daily Challenge #30 - What is the price?
Python def DiscoverOriginalPrice(new_price, discount): ...
re: Daily Challenge #29 - Xs and Os
Python: def xo(txt): return True if txt.lower().coun...
re: Daily Challenge #28 - Kill the Monster!
Python: def killMonsters(h,m,dm): if m <= 3 : ...
re: Daily Challenge #27 - Unlucky Days
Python import datetime def unlucky_days(y): return le...
re: Daily Challenge #26 - Ranking Position
Python r=[ { 'name': "John", 'points': 100, }...
re: Daily Challenge #25 - Double Cola
Python def who_is_next(names, r): if len(names)>=...
re: Daily Challenge #23 - Morse Code Decoder
Python solution: m = { '.-': 'A', '-...': 'B', '-.-.': ...
re: Daily Challenge #14 - Square into Squares
Python solution: def decompose(n): if n == 0: ...
re: Daily Challenge #13 - Twice Linear
Python def dbl_linear(n): u=[1] if n == 0: ...
loading...