Computer Upgrades and AI Budgeting Apps

Plus a few finds that caught our attention.

In partnership with

This week is special because of Prime Day. That means discounts on the tech you’ll need to build a crypto mining rig and some of the lowest prices we expect to see on tech until Black Friday. We’re also sharing a new Python project and asking for your feedback.

This Week’s Resources

Partner Offer

FREE AI & ChatGPT Masterclass to automate 50% of your workflow

More than 300 Million people use AI across the globe, but just the top 1% know the right ones for the right use-cases.

Join this free masterclass on AI tools that will teach you the 25 most useful AI tools on the internet – that too for $0 (they have 100 free seats only!)

This masterclass will teach you how to:

  • Build business strategies & solve problems like a pro

  • Write content for emails, socials & more in minutes

  • Build AI assistants & custom bots in minutes

  • Research 10x faster, do more in less time & make your life easier

You’ll wish you knew about this FREE AI masterclass sooner 😉

Prime Day Deals

Here are a few specific deals that caught our eye today. Note that these tend to sell out quickly on Prime Day, so the prices may have changed since we first spotted them.

And remember that you’ll need Amazon Prime to score the discounts. There’s a free 30-day trial if you aren’t already a member.

Here’s what we saw this morning:

Main takeaways: Lots of deals on tech. Lots of discounted laptops. Lots of discounted Apple products.

If you’ve been waiting for a computer upgrade, it’s worth checking out Prime day.

Do you want to see more Prime Day deals tomorrow?

Login or Subscribe to participate in polls.

Python Age Calculator Project

We recently built a new Python project. This one focuses on calculating age. It’s a good project for beginners. Here’s the code.

from datetime import date

def calculate_age(birthdate):
    today = date.today()
    
    # Calculate age in years
    age_years = today.year - birthdate.year - ((today.month, today.day) < (birthdate.month, birthdate.day))
    
    # Calculate age in months and days
    if today.month < birthdate.month or (today.month == birthdate.month and today.day < birthdate.day):
        age_months = (12 - birthdate.month) + today.month - 1
    else:
        age_months = today.month - birthdate.month
    
    # Calculate days
    if today.day < birthdate.day:
        # Go back one month to get the correct number of days
        # in the previous month
        month_ago = (today.month - 1) if today.month > 1 else 12
        days_in_month = (date(today.year, today.month, 1) - date(today.year, month_ago, 1)).days
        age_days = days_in_month - (birthdate.day - today.day)
    else:
        age_days = today.day - birthdate.day
    
    return age_years, age_months, age_days

def main():
    # Input birthdate from the user
    birthdate_str = input("Enter your birthdate (YYYY-MM-DD): ")
    year, month, day = map(int, birthdate_str.split('-'))
    birthdate = date(year, month, day)
    
    # Calculate age
    age_years, age_months, age_days = calculate_age(birthdate)
    
    # Output the age
    print(f"You are {age_years} years, {age_months} months, and {age_days} days old.")

if __name__ == "__main__":
    main()

And, of course, you can read our full guide to learn the why behind the code.

Thanks for reading! If you found this helpful, please share this newsletter.

Rate this Newsletter

The team at Hackr.io aims to provide the best information possible. Please let us know how we're doing!

Login or Subscribe to participate in polls.