Forwarded from Python Projects
#PracticeCode: 0020
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which two input has to be taken 1st bracket string
with size 4 two open and two close like (()) , {{}} etc.. and 2nd input ,a word.
Now you have to print the word enclosing it within given brackets.
Sample Run :
input - '(())' , 'Python'
output - '((Python))'
NOTE : You to make this program without using loops.
GOOD LUCK!
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which two input has to be taken 1st bracket string
with size 4 two open and two close like (()) , {{}} etc.. and 2nd input ,a word.
Now you have to print the word enclosing it within given brackets.
Sample Run :
input - '(())' , 'Python'
output - '((Python))'
NOTE : You to make this program without using loops.
GOOD LUCK!
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from JK - Python
mementopython3-english.pdf
242.7 KB
Forwarded from Python Questions
Forwarded from Python Projects
#PracticeCode: 0021
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which a list of numbers are given and you to print
the list shifted left by one step.
Sample:
input - [1,2,3,4]
output - [2,3,4,1]
NOTE :- Without loop!
GOOD LUCK!
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which a list of numbers are given and you to print
the list shifted left by one step.
Sample:
input - [1,2,3,4]
output - [2,3,4,1]
NOTE :- Without loop!
GOOD LUCK!
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from Python Projects
#PracticeCode: 0022
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Create a program in which a list is given as input and you have to find max number
and change each element of list into max element.
input - [1,2,3,4,5]
output - [5,5,5,5,5]
NOTE :- Without Loop.
GOOD LUCK!
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Create a program in which a list is given as input and you have to find max number
and change each element of list into max element.
input - [1,2,3,4,5]
output - [5,5,5,5,5]
NOTE :- Without Loop.
GOOD LUCK!
««« Send your solution to @hbabureddy and will be added to our Github page »»»
««« Click here for the Solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #collections #dict #algorithm
Forwarded from Python Questions
In Python, functions can also have attributes and methods.
Anonymous Quiz
11%
Only Attributes
7%
Only Methods
79%
Both Attribures & Methods
3%
None
Forwarded from Python Questions
How can we check whether the object is instance of class or not.
For example, how to check if an object O which is instance of class C.
For example, how to check if an object O which is instance of class C.
Anonymous Quiz
29%
C.isinstance(O)
40%
O.isinstance(C)
24%
isinstance(O,C)
7%
isinstance(C,O)
.
A Complete Pandas Glossary for Data Science
Your go-to resource to learn Pandas fundamentals
#python #pandas #DataScience #machineLearning #tutorial
A Complete Pandas Glossary for Data Science
Your go-to resource to learn Pandas fundamentals
#python #pandas #DataScience #machineLearning #tutorial
Medium
A Complete Pandas Glossary for Data Science
Your go-to resource to learn Pandas fundamentals
Forwarded from Python Questions
✅ Answer ✅
TypeError − ‘tuple’ object does not support item assignment because a tuple is immutable.
TypeError − ‘tuple’ object does not support item assignment because a tuple is immutable.
Forwarded from Python Questions
def foo(x = 10, y = 15):
return(x + y, x - y)
x, y = foo(y = 20, x = 15) print(x, y) #What is the output of the following code?
return(x + y, x - y)
x, y = foo(y = 20, x = 15) print(x, y) #What is the output of the following code?
Anonymous Quiz
33%
Error - arguments order
49%
35 -5
13%
35 30
5%
30 30
Forwarded from Python Projects
#PracticeCode: 0023
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which a list is given as input and you have to print the sum of 1st , last and mid element of the
list.
If the list count is even, then select the 1st, last and average of 2 elements from the middle have to be considered.
sample :-
input - [1,2,3,4,5]
output - 9
NOTE :- Without Loop.
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
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which a list is given as input and you have to print the sum of 1st , last and mid element of the
list.
If the list count is even, then select the 1st, last and average of 2 elements from the middle have to be considered.
sample :-
input - [1,2,3,4,5]
output - 9
NOTE :- Without Loop.
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
👍1
Products_2K.csv
230.8 KB
ProductsList2K #dataset
Guys, those who are interested in learning ———»»» Data Wrangling «««———
using:
Pandas/Numpy/regex,
download the above data set.
Contains a set of 2000 products, quantity, category and other details.
Will post some practice tasks, which will be based on this dataset.
#python #dataset #DataWrangling
using:
Pandas/Numpy/regex,
download the above data set.
Contains a set of 2000 products, quantity, category and other details.
Will post some practice tasks, which will be based on this dataset.
#python #dataset #DataWrangling
Forwarded from Python Projects
#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 ««« ———
««« Discuss your solution @python_programmers_club 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
🎯 »»»» 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 ««« ———
««« Discuss your solution @python_programmers_club 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
Telegram
Python Resources - Basic Python, ML, DataScience, BigData
ProductsList2K #dataset