deathweaselx86's avatar

deathweaselx86

Deathweasel, Harbinger of Death
65 Watchers219 Deviations
21.1K
Pageviews
bugraddkmenli
Andreza00
Dabi-artz
Pudabudigada
Tiamatus
FrictorOTS
Buddhadragon
omfgitsbutter
MystiqueDeep
deathbeast1985
yiitdoit
erez-mor
bonegoddess
ashpwright
EtheringtonBrothers
Mihio-san
Ascending-Storm
FrodoK
TheMichaelMacRae
SKYZUNE-ART
SalHunter
ellegottzi
JoeMacGown
therewren
Arkus83
Kholouz
Sadania

Deviation Spotlight

deathweaselx86 is not a Group Admin yet
Groups they admin or create will appear here
Artist // Hobbyist // Varied
Badges
Albino Llama: Llamas are awesome! (73)
My Bio
Current Residence: Round Rock, TX
Favourite genre of music: everything
Favourite photographer: I have to pick?
Favourite style of art: psychedelic
Operating System: OS X
MP3 player of choice: iPod Nano
Shell of choice: /bin/tcsh
Skin of choice: brownish-pink
Favourite cartoon character: Crona from Soul Eater

Favourite Visual Artist
Cara Mitten, Stephanie Lostimolo, Brian Froud, Alphonse Mucha, Max Ernst
Favourite Bands / Musical Artists
Philip Glass
Favourite Writers
H.P. Lovecraft
Tools of the Trade
brain
Other Interests
mathematics, art, computers, music
I don't really post here anymore. Find my work at @solidstate_survivor at Instagram
Join the community to add your comment. Already a deviant? Log In
I think I want to make a clean break with all of this sophomoric art from the earlier part of my life.
Join the community to add your comment. Already a deviant? Log In
#!/usr/bin/python # Please see this Wikipedia article # http://en.wikipedia.org/wiki/NBA_draft_lottery#1990.E2.80.93present:_Weighted_lottery_system def prob(v_dict, item, num_draws):    """ Find the probability of item being drawn on any of num_draws    in a weighted lottery (no replacement)."""    # probability = probability of drawing item on first + probability of not drawing       # item on first*probability of drawing item on second time    prob_item = v_dict[item]/sum(v_dict.values())    if num_draws < 1:        return 0.0    if num_draws == 1:        return prob_item    if num_draws >= len(v_dict):    
Join the community to add your comment. Already a deviant? Log In

Profile Comments 100

Join the community to add your comment. Already a deviant? Log In
:wave: Many thanks for watching! :-)
Thanks for the fav !:) (Smile)Huggle!
Thank you for the watch :)
Thank you for the watch! Appreciate it!
thanks for the fav.
Hey Jess, thank you so much for the premium membership!