Python Projects
رفتن به کانال در Telegram
A single repository of projects related to Python, ML, Datascience & BigData. Resources — »»» @python_resources_iGnani Projects — »»» @python_projects_repository Questions— »»» @python_interview_questions Forum — »»» @python_programmers_club
نمایش بیشترکشور مشخص نشده استدسته بندی مشخص نشده است
7 291
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز
آرشیو پست ها
7 291
#PracticeCode: 0038
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Create a program to input a number and check if it is multiple of 2 than print "sel" , if multiple of 5 then print "fish" or if multiple of both than print "selfish".
Sample :-
input - 5
output - fish
input - 10
output - selfish
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0037
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to print Fiboncci Series till the given number of terms.
Sample :-
input - 9
output - 1 1 2 3 5 8 13 21 34
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0036
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which a random number is taken. Now take a input and keep running the program till the user guesses the right number.
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0035
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which you have to take input in a temperature [ In Celsius, Fahrenheit or Kelvin anyone]. And convert it into other both types and print.
{C = 5/9*(F-32) , C = K - 273, where F is Fahrenheit , C is Celsius, K is Kelvin}
Sample run :-
input → 60°C
output → 140 Fahrenheit , 333 Kelvin
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0033
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Input a list of Numbers(int or float). You have to print their sum unless they are danger(13 to 19). Danger number counts as 0. Number 14 and 17 are exception, there not taken as danger numbers.
Sample Run :-
input → (4,16,9)
output → 29
input → (6,8,12,14)
output → 26
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#DataWrangling : Task: 0003 ——————————————————— Continued from 0002
🎯 »»»» FORWARD IF YOU LIKE IT «««« 🎯
Task:
The categories column contains the category and a list of sub-categories. Extract them into separate columns, with names as Category suffixed by a number depending on the hierarchy.
The level of hierarchy is not the same for all, you need to handle it.
Optional Tasks:
»» Clean up the newly created Categories columns by removing additional spaces. Try using regex.
📝 ———»»» Click here for the dataset ««« ———
««« Send your solution @hbabureddy and proper solutions will be added to our Github page »»»
🔥Ready to take this challenge? 🔥
««« Click here for the Solution »»»
#python #practiceCode #samples #DataWrangling #pandas
7 291
*
#ML_Project: 0003 ——— 🎯 FORWARD IF YOU LIKE IT 🎯
Model for Feature Extraction
Task: Build a CNN model that is great for analyzing and extracting features from the image and generate an English sentence that describes the image that is called Caption.
Dataset: Flickr 30k Dataset
The Flickr 30k dataset has over 30,000 images, and each image has different captions. This dataset is useful in building image caption generators. And this dataset is an upgraded version of Flickr 8k used to create more accurate models.
Reference: Click here
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #machineLearning #projects #datasets #CNN
7 291
*
#ML_Project: 0002 ——— 🎯 FORWARD IF YOU LIKE IT 🎯
Build a Chatbot
Task: You can build a chatbot or understand the working of a chatbot by twisting and expanding the data with your observations. To build a Chatbot of your own, you need to have a good knowledge of Natural language processing concepts.
Dataset: Chatbot Intents Dataset
The Chatbot dataset is a JSON file that has disparate tags like goodbye, greetings, pharmacy_search, hospital_search, etc. Every tag has a list of patterns that a user can ask, and the chatbot will respond according to that pattern. The dataset is perfect for understanding how chatbot data works.
Reference: Click here
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #machineLearning #projects #datasets #kMeans
7 291
*
#ML_Project: 0001 ——— 🎯 FORWARD IF YOU LIKE IT 🎯
Model to Detect Fraudulent Activities
Task: Using k-means clustering, you can build a model to detect fraudulent activities. K-means clustering is an unsupervised Machine learning algorithm. It separates the observations into k number of clusters based on the similar patterns in the data.
Dataset: Enron email dataset
Enron Email Dataset is famous in natural language processing. It has more than 500K emails of over 150 users. The size of the data is around 432Mb. Out of 150 users, most are the senior management of Enron.
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #machineLearning #projects #datasets #kMeans
7 291
#PracticeCode: 0032
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
An ATM machine has 2 denominations of currency notes , $10 & $50. Accept the number of currency notes available in the machine and the withdrawal amount. Than calculate if with the available denominations , whether a user can withdraw the amount or not.
Sample Run :-
input → $10 = 3 , &50 = 1 , W.A. = $80
output → True
input → $10 = 3 , $50 = 1 , W.A. = $90
output → False
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0031
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which two strings has to given as input. Now you to print True or "yes" if any one of the strings is present at the end or start of the other. Else print False or "No".
Sample Run :-
input → 'Hiabc' , 'abc'
output → True
NOTE :- It's should not be case sensitive.
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0030
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
A list of numbers is given as input. You have to create a program in which you have to print the sum of numbers which do not comes in section between 6 and 7.
Sample Run :-
input → [1,2,2,3]
output → 8
input → [1, 2, 2, 6, 99, 99, 7]
output → 5
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0029
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which a list of numbers is given as input and you have to print the mean average of all the numbers leaving largest and smallest numbers. If the given list has more then one copy of largest or smallest number than just ignore one copy of that number.
Sample :-
input → [1,2,3,4,500]
output → 3
input → [1,1,6,8,3,10]
output → 4.5
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0028
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which a list of numbers is given as input and you to print sum and difference of the maximum and minimum value of the list.
NOTE :- You don't have to use max() and min() inbuilt functions!.
Sample run :-
input → [10, 3, 5, 6]
output → 7
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#DataWrangling : Task: 0002 ——————————————————— Continued from 0001
🎯 »»»» FORWARD IF YOU LIKE IT «««« 🎯
Task:
Clean the column "Product Name".
There are a lot of rows with Product Name as empty or contains some junk characters. Delete all such rows.
Optional Tasks:
»» Go through the list of Product Names and clear them of any special characters that you feel is not needed.
»» Clean up the Quantity & Categories columns by removing un-necessary special characters or junk values.
📝 ———»»» Click here for the dataset ««« ———
««« Send your solution @hbabureddy and proper solutions will be added to our Github page »»»
🔥Ready to take this challenge? 🔥
««« Click here for the Solution »»»
#python #practiceCode #samples #DataWrangling #pandas
7 291
#DataWrangling : Task: 0001
🎯 »»»» FORWARD IF YOU LIKE IT «««« 🎯
Task:
Load the dataset using Pandas.
Optional Tasks:
»» Import only "Product Name, Quantity & Categories" columns
»» Load only 100 rows into the dataframe
📝 ———»»» Click here for the dataset ««« ———
««« Send your solution @hbabureddy and proper solutions will be added to our Github page »»»
🔥Ready to take this challenge? 🔥
««« Click here for the Solution »»»
#python #practiceCode #samples #DataWrangling #pandas
7 291
#PracticeCode: 0027
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which two numbers are given as input and you have print True or "Yes" if any of both numbers include 7 or their sum or difference is 7.
Sample :-
input → 7 , 4
output → True
input → 4 , 5
output → False
input → 8 , 1
output → True
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0026
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Given a day of the week encoded as 0=Sun, 1=Mon, 2=Tue, ...6=Sat, and a boolean indicating if we are on vacation, return a string of the form "7:00" indicating when the alarm clock should ring. Weekdays, the alarm should be "7:00" and on the weekend it should be "10:00". Unless we are on vacation -- then on weekdays it should be "10:00" and weekends it should be "off".
Sample :-
input → weekday = 1 , vacation = False
output → '7:00'
input → weekday = 5 , vacation = False
output → '7:00'
input → weekday = 0 , vacation = False
output → '10:00'
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0025
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
There are few sweet Birds which like to play a lot. But there has to be a certain
weather condition so they can play freely. It's most suitable when the temperature
is between 60 to 90 , unless it's summer , in summer upper limit is increased to
100.
You have to create a program to check whether it's suitable for birds to play or not.
Take two inputs 1st temperature and 2nd for if it's summer in form of "Yes" or
"No". Than print output it's suitable or not.
Sample :-
input → Temp = 70 , Summer = NO
output → True
input → Temp = 95 , summer = No
output → False
input → Temp = 95 , summer = Yes
output → True
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #conditions
7 291
#PracticeCode: 0024
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You and your date are trying to get a table at a restaurant.
The parameter "you" is the stylishness of your clothes, in the range 0..10, and "date" is the stylishness of your date's clothes.
The result getting the table is encoded as an int value with
- 0=no,
- 1=maybe,
- 2=yes.
If either of you is very stylish, 8 or more, then the result is 2 (yes). With the exception that if either of you has style of 2 or less, then the result is 0 (no). Otherwise the result is 1 (maybe).
Sample :-
input → you = 5 , date = 10
output → 2
input → you = 5 , date = 2
output → 0
input → you = 5 , date = 5
output → 1
GOOD LUCK!
««« Discuss your solution @python_programmers_club and proper solutions will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
