Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Metal Gabe
Metal Gabe

Posted on

     

Codecademy Project Portfolio

Codecademy Portfolio Project: Recommendation Software App

Source Code

Overview

This a terminal/CLI based app that takes in user input to select a food type that they're feeling. Then, based off of input, the app will provide restaurant "recommendations" from it's internal data.

Technology

This was written in Python 3.

It's a straightforward app in that it just takes in user input and then filters out pre-defined restaurant data that's stored in a local file.

Screenshots

https://github.com/gflujan/recommendation-software-app/blob/main/recommendations-01.png

https://github.com/gflujan/recommendation-software-app/blob/main/recommendations-02.png

Top comments(1)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
fractalis profile image
Scott Rallya
AI Consultant and Software Engineer, I specialize in providing small and medium-sized businesses with the intelligence to leverage AI solutions to optimize and enhance their business operations.
  • Location
    Cuyahoga Falls, OH
  • Work
    AI Consultant @ CogniAI Solutions
  • Joined

Fantastic job on this. There are no "straightforward apps", every app is a uniquely crafted piece of art that is the result of [hard] work, creativity, ingenuity, and application. Always take pride in the work you do, no matter how simple it might seem. Every piece of code you write leads you on the path of being a better developer.

So, I've been learning to use type annotations. While type annotations are optional in Python, they convey a lot of information. For example,

defprompt_user(prompt:str)->strname=input(prompt)returnname.strip()
Enter fullscreen modeExit fullscreen mode

Here we see a function that takes a prompt, which is of type string, and it returns a type string. This can be powerful in complex code bases and for type-checking and IDEs/intellisense. If you're looking for an additional challenge, I'd challenge you to convert your Codeacademy solution to use type annotations. That sounds like a fun challenge, now doesn't it?

Anyways, great job again on this! Hope to see more of your work in the future on here! Keep coding, and keep posting!

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Hola mundo
  • Location
    SF Bay Area, CA
  • Education
    AppAcademy
  • Pronouns
    he/him
  • Work
    Sr. Software Engineer
  • Joined

Trending onDEV CommunityHot

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp