therenegadecoder / how-to-python-code Goto Github PK
View Code? Open in Web Editor NEWA collection of Jupyter Notebooks from the How to Python series
Home Page: https://therenegadecoder.com/series/how-to-python/
License: MIT License
A collection of Jupyter Notebooks from the How to Python series
Home Page: https://therenegadecoder.com/series/how-to-python/
License: MIT License
I was trying to solve this challenge. But I got stuck at one point. The question, will I take only one number as input and perform a single operation? Or keep going through the process until we reach a dead-end(specified).
I'm on an automation kick, and I figure it's probably time to automate the main README for this repo. I'm wondering if I can run this code on a schedule as well to regularly check the RSS of the website, so new posts are automatically added.
Add solutions from this article to a Jupyter notebook: https://therenegadecoder.com/code/how-to-open-a-file-in-python/
See here for an example: https://colab.research.google.com/github/TheRenegadeCoder/how-to-python-code/blob/master/notebooks/how_to_write_a_loop.ipynb
Check out this tweet for context, but to summarize:
I've been using Carbon for challenges because the images are pretty and Twitter doesn't handle syntax highlighting, etc. I had been adding ALT tags but just to describe the image, not to include the actual code snippet. Now that we're storing the source code here, I'm going to start linking that instead. Also, I think I'm going redo all of the tweets, so they're properly accessible (since they get linked in my articles).
Here's the source article: https://therenegadecoder.com/code/how-to-create-a-list-in-python/
Here's a quick summary of the challenge:
create a list which contains the first 100 terms of the fibonacci sequence
For this, I'd be content with the solution being written and added to the challenges folder as Python source code. If you want to go the extra mile, you can use Carbon to create an image of the code snippet to post on Twitter with the hashtag [#RenegadePython[(https://twitter.com/hashtag/RenegadePython). If you do that, you can link the tweet in the README, and I'll share your tweet in the article.
When I was building up my list of code snippets, I started organizing them by category. I'm wondering if we should update the challenges section of this repo to match this hierarchy.
The input
name = Jeremy
should be
name = 'Jeremy'
Here is the article url https://therenegadecoder.com/code/python-code-snippets-for-everyday-problems/
Here's the latest article: https://therenegadecoder.com/code/how-to-check-if-a-key-exists-in-a-dictionary-in-python/
One thing I thought would be cool would be to include the challenge descriptions here in GitHub (probably quotes). That way, folks wouldn't have to guess at what the challenges are.
Add solutions from this article to a Jupyter notebook: https://therenegadecoder.com/code/how-to-remove-duplicates-from-a-list-in-python/
See here for an example: https://colab.research.google.com/github/TheRenegadeCoder/how-to-python-code/blob/master/notebooks/how_to_write_a_loop.ipynb
Add solutions from this article to a Jupyter notebook: https://therenegadecoder.com/code/how-to-swap-variables-in-python/
See here for an example: https://colab.research.google.com/github/TheRenegadeCoder/how-to-python-code/blob/master/notebooks/how_to_write_a_loop.ipynb
Wouldn't it be great to have more issues? That way, contributors(me) will know what to write about rather than roaming aimlessly.
Here's the original article: https://therenegadecoder.com/code/how-to-loop-over-a-dictionary-in-python/
Basically, I need the code snippets from that article loaded into a Jupyter notebook. For simplicity, I've been using Google Colab, but any platform which hosts notebooks would be fine (and preferred).
Here's a sample notebook to give you an idea of what I'm talking about: https://colab.research.google.com/github/TheRenegadeCoder/how-to-python-code/blob/master/notebooks/how_to_write_a_list_comprehension.ipynb
I had this idea to condense all solutions into a single solutions module. Then, I had this idea to add testing such that all of the functions in that solutions file would be subjected to the same input. Sounds cool! Let's do it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.