Signup and get access to similar projects
Every week, we pick a real-life project to build your portfolio and get ready for a job. All projects are built with ChatGPT as co-pilot!
Start the ChallengeA tech-culture podcast where you learn to fight the enemies that blocks your way to become a successful professional in tech.
Listen the podcastDisneyland for procrastinators and lazy people.
This project is ideal to are avoiding someone annoying, it takes no more than 20 lines of code, and it can save you for the rest of your life!
We wanted a project that used very little Python but still with a very fun application, the excuse generator takes 20 lines of code, is super simple to understand and is the perfect first-ish project for any beginner developer.
git clone
command.This is the repository you need to open or clone:
https://github.com/breatheco-de/excuse-generator-javascript-cli
👉 Please follow these steps on how to start a coding project.
1$ learnpack start
Please create a python script that generates an excuse each time it is runned.
How can we generate an excuse? How are sentences built?
The idea is to generate each part of the sentence randomly to come up with great excuses!
app.py
file with one excuse hard-coded in one variable.1excuse = 'The dog eat my homework when I finished'
1who = ['the dog','my granma','his turtle','my bird'] 2what = ['eat','pissed','crushed','broked'] 3when = ['before the class','right in time','when I finished','during my lunch','while I was praying']
print
function.Python.
This exercise covers the following fundamentals:
Signup and get access to similar projects
Every week, we pick a real-life project to build your portfolio and get ready for a job. All projects are built with ChatGPT as co-pilot!
Start the ChallengeA tech-culture podcast where you learn to fight the enemies that blocks your way to become a successful professional in tech.
Listen the podcast