Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added solution in number names (python) #720

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Numbers
**Happy Numbers** - A happy number is defined by the following process. Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1. Those numbers for which this process ends in 1 are happy numbers, while those that do not end in 1 are unhappy numbers. Display an example of your output here. Find first 8 happy numbers. [[Quoly (Python)]](https://github.com/Quoly/Projects/blob/master/happy_numbers.py) [[tel (Haskell)]](https://github.com/tel/Projects/blob/master/Numbers/HappyNumbers.hs) [[manoj1992(Java)]](https://github.com/manoj1992/Projects/blob/master/Numbers/HappyNumber.java) [[checkcheckzz (C++)]](https://github.com/checkcheckzz/coding-problem/blob/master/problem/Happy%20Number.cpp) [[BinaryForest (Java)]](https://github.com/BinaryForest/KaranProjects/blob/master/HappyNumbers/HappyNumbers.java) [[aysark (Java)]](https://github.com/aysark/Review/blob/master/Projects/src/HappyNumbers.java) [[kiriakosv (Python)]](https://github.com/kiriakosv/Project_Solutions/blob/master/happy.py)[[chasmani(Ruby)]](https://github.com/chasmani/RubyFunProjects/blob/master/Problems/happy_numbers.rb)[[nagelflorian (Swift)]](https://gist.github.com/nagelflorian/7eb2201893a2259ceb97) [[hkuchampudi (Java)]](https://github.com/hkuchampudi/MegaProject_Solutions/blob/master/Numbers/happy_numbers.java)

**Number Names** - Show how to spell out a number in English. You can use a preexisting implementation or roll your own, but you should support inputs up to at least one million (or the maximum value of your language's default bounded integer type, if that's less). *Optional: Support for inputs other than positive integers (like zero, negative integers, and floating-point numbers).* [[tel (Haskell)]](https://github.com/tel/Projects/blob/master/Numbers/WordNumbers.hs) [[scottdchris (Python)]](https://github.com/scottdchris/NumToWords) [[ScottKolo (Go)]](https://github.com/ScottKolo/GoProjects/blob/master/Numbers/names.go)
[[checkcheckzz (C++)]](https://github.com/checkcheckzz/coding-problem/blob/master/problem/Namenumbers.cpp)
[[checkcheckzz (C++)]](https://github.com/checkcheckzz/coding-problem/blob/master/problem/Namenumbers.cpp) [[Sahil-M06(Python)]](https://github.com/Sahil-M06/Num-to-Words/blob/main/word_to_num.py)

**Coin Flip Simulation** - Write some code that simulates flipping a single coin however many times the user decides. The code should record the outcomes and count the number of tails and heads. [[scottdchris (Python)]](https://github.com/scottdchris/CoinFlip) [[aysark (Java)]](https://github.com/aysark/Review/blob/master/Projects/src/CoinFlip.java) [[JaredCubilla (Javascript)]](https://github.com/JaredCubilla/Projects/blob/master/Javascript/numbers/coinFlip.js) [[dsub15 (Python)]](https://github.com/dsub15/Projects/blob/master/Coin_flip.py)[[mandeepbhutani (Python)]](https://github.com/mandeepbhutani/Sample-Projects/blob/master/CoinFlip.py) [[viktorahlstrom (Bash)]](https://github.com/viktorahlstrom/all/blob/master/coding-problems-solved/projects-solutions/coinflip.sh)[[viktorahlstrom (Python)]](https://github.com/viktorahlstrom/all/blob/master/python/coin.py)[[viktorahlstrom (Java)]](https://github.com/viktorahlstrom/all/blob/master/java/coinflip.java) [[mandliya(C++)]](https://github.com/mandliya/short-fun-projects/blob/master/coin-flip-simulation/coinFlip.cpp)

Expand Down