Darshan Rajpara
@DarshanRajpara1
One not two!
This is a small python program I made in about 10 minutes. What it does: Counts how many coins you need for a given amount of cents.
Enjoy!
Python
I am trying to create a leaderboard for python and cannot figure it out. I want the leaderboard to be sortable and in this format:
Score | Name
Can an
Python
Coder100 Hello. You can sort an array, then map the array, and finally join the array.
The code is going to be something like this:
users = [("username", 5), ("someone", 15), ('n00b', 0)]
Sort user array
users.sort(key=lambda a: a[1], reverse=True)
Format the users
leaderboard = map(lambda user: user[0] + "| " + str(user[1]), users)
Output
print("\n".join(leaderboard))
Hopes this helps!3 years ago
Highwayman Hm... what exactly are you having trouble with tho? Is it the sorting part? The saving part?3 years ago
In case you did not know it is pride month. This is the month of celebration within the LGBTQ+ community. Make sure to update your profile picture!
Python
This is a Python module that I made which allows you to create a quiz, if you have any suggestions, let me know.
How to get it working
To use this mod
Python
This is a translator for a conlang that I made, Raqa (/ɹɑkʷɑ/) It's not finished, I still need to do the Raqa -> English part, but the English -> Raq*
Python
Am I going to get in trouble for this if I give credit? This is a repl.it importation(?) from HTwins.net. Original version: http://htwins.net/unicrush
HTML, CSS, JS
This is a simple terminal that I have made using PyCommands.
All credit goes to @slickassasin03 for the module.
I hope you like it!
Python
This repl will tell you what day any day was, as long as it is gregorian. if you have any suggestions or problems, leave them in the comments!
Python
This is a function that will take three numbers, put them through the Quadratic Equation, and give back a result. I hope you enjoy!
Also, if you have
Python
Whenever I run this it always puts the spouses under their wives/husbands and for the life of me I can't figure out why.
HTML, CSS, JS
math_genius How did you miss something as simple as a decimal point. Fix this and then i will upvote.3 years ago