Giter Club home page Giter Club logo

Hi 🐯, I'm Priyanshu

A passionate DATA SCIENTIST from India

Coding

priyansh4320




Connect with me:

https://www.linkedin.com/in/priyanshudeshmukh/ https://leetcode.com/priyanshudeshmukh4/ https://auth.geeksforgeeks.org/user/priyanshudeshmukh4



Languages and Tools:

aws cplusplus css3 django firebase flask git html5 linux mongodb mssql mysql pandas python pytorch scikit_learn seaborn tensorflow


priyansh4320

Β priyansh4320

priyansh4320

Priyanshu Yashwant Deshmukh's Projects

autogen icon autogen

Enable Next-Gen Large Language Model Applications. Join our Discord: https://discord.gg/pAbnFJrkgZ

coffee-machine-project icon coffee-machine-project

1. Prompt user by asking β€œ What would you like? (espresso/latte/cappuccino): ” a. Check the user’s input to decide what to do next. b. The prompt should show every time action has completed, e.g. once the drink is dispensed. The prompt should show again to serve the next customer. 2. Turn off the Coffee Machine by entering β€œ off ” to the prompt. a. For maintainers of the coffee machine, they can use β€œoff” as the secret word to turn off the machine. Your code should end execution when this happens. 3. Print report. a. When the user enters β€œreport” to the prompt, a report should be generated that shows the current resource values. e.g. Water: 100ml Milk: 50ml Coffee: 76g Money: $2.5 4. Check resources sufficient? a. When the user chooses a drink, the program should check if there are enough resources to make that drink. b. E.g. if Latte requires 200ml water but there is only 100ml left in the machine. It should not continue to make the drink but print: β€œ Sorry there is not enough water. ” c. The same should happen if another resource is depleted, e.g. milk or coffee. 5. Process coins. a. If there are sufficient resources to make the drink selected, then the program should prompt the user to insert coins. b. Remember that quarters = $0.25, dimes = $0.10, nickles = $0.05, pennies = $0.01 c. Calculate the monetary value of the coins inserted. E.g. 1 quarter, 2 dimes, 1 nickel, 2 pennies = 0.25 + 0.1 x 2 + 0.05 + 0.01 x 2 = $0.52 6. Check transaction successful? a. Check that the user has inserted enough money to purchase the drink they selected. E.g Latte cost $2.50, but they only inserted $0.52 then after counting the coins the program should say β€œ Sorry that's not enough money. Money refunded. ”. b. But if the user has inserted enough money, then the cost of the drink gets added to the machine as the profit and this will be reflected the next time β€œreport” is triggered. E.g. Water: 100ml Milk: 50ml Coffee: 76g Money: $2.5 c. If the user has inserted too much money, the machine should offer change. E.g. β€œHere is $2.45 dollars in change.” The change should be rounded to 2 decimal places. 7. Make Coffee. a. If the transaction is successful and there are enough resources to make the drink the user selected, then the ingredients to make the drink should be deducted from the coffee machine resources. E.g. report before purchasing latte: Water: 300ml Milk: 200ml Coffee: 100g Money: $0 Report after purchasing latte: Water: 100ml Milk: 50ml Coffee: 76g Money: $2.5 b. Once all resources have been deducted, tell the user β€œHere is your latte. Enjoy!”. If latte was their choice of drink.

datastructures icon datastructures

contain all error-free programs for data structures and algorithms

dsa-workshop icon dsa-workshop

A workshop organized by Tech-Cult to learn and practice DSA

face-extractor icon face-extractor

Python script that detect faces on the image or video, extracts them and saves to the specified folder

gpt-pilot icon gpt-pilot

Dev tool that writes scalable apps from scratch while the developer oversees the implementation

higer-lower-game icon higer-lower-game

A game that gets two random Instagram account and asks user who has more followers.

ice-sejj icon ice-sejj

Introducing Ice-Sejj: Your Ultimate NLP and Machine Learning Solution

imageclassification icon imageclassification

Jupyter notebook showing how to build an image classifier with Python and Tensorflow

llmspracticalguide icon llmspracticalguide

A curated list of practical guide resources of LLMs (LLMs Tree, Examples, Papers)

mr_disrespect.ai icon mr_disrespect.ai

it is a chatbot project that generates disrespectful reply each time you have a conversation with it

privategpt icon privategpt

Interact with your documents using the power of GPT, 100% privately, no data leaks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.