Python Resources - Basic Python, ML, DataScience, BigData
2.46K subscribers
14 photos
3 files
243 links
You can find all kinds of resources related to Python, ML, DataScience and BigData.
Resources — »»» @python_resources_iGnani
Projects — »»» @python_projects_repository
Questions— »»» @python_interview_questions
Forum — »»» @python_programmers_club
Download Telegram
Forwarded from Python Projects
#PracticeCode: 0042
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
Create a program to take input a array of numbers and required sum. Now you have to print the lowest numbers from the array which sums to the required sum given as input.

Sample :-

input - [10,0,-1,20,25,30]
Required Sum - 45
output - [20,25]

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
Forwarded from Python Projects
#PracticeCode: 0043
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
Create a program to check validity of password given input by the users.
Conditons :

* At least 1 letter between [a-z] and 1 letter between [A-Z].
* At least 1 number between [0-9].
* At least 1 character from [$#@].
* Minimum length 6 characters.
* Maximum length 16 characters.

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
Forwarded from Python Questions
x = bin((3**9) -1) == '{}'.format(bin((3**9) -1))

What is the value of x? Explain?
Anonymous Quiz
20%
19682
30%
True
19%
False
11%
729
7%
None of the above
13%
Show me the answer
Forwarded from Python Questions
x=56.236
print("%.2f"%x)
What is the result of these statements?
Anonymous Quiz
9%
56.00
17%
56.236
21%
56.24
31%
56.23
10%
0056.236
11%
Show me the answer
Forwarded from Python Questions
x = [1, 23, 'hello', 1]
type(x)
# What datatype of x? Explain?
Anonymous Quiz
5%
str
66%
list
6%
dict
8%
array
7%
tuple
4%
error
3%
Show me the answer
Forwarded from Python Projects
#PracticeCode: 0044
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
Create a program to print alphabet "A" on Screen.

Sample :-

***
* *
* *
***
**
* *
* *
* *

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
1
Forwarded from Python Projects
#PracticeCode: 0045
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
Create a program to take input a month and year and print number of days in it.

Sample :-

input - January, 2020
output - days = 31

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
Forwarded from Python Projects
#PracticeCode: 0046
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
Create a program to take input of all three sides of a triangle and then print the type of the triangle(equilateral, scalene, isosceles).

* Equilateral trinagle has all sides equal.

* Scalene triangle has all sides unequal.

* Isosceles triangle has two sides equal.

Sample :-

input -
a = 12
b = 8
c = 6

output - Scalene triangle

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
Forwarded from Python Questions
x = "Python World"
x[3] = 's'
# What is the value of x? Can you explain Why?
Anonymous Quiz
13%
Python World
6%
python world
52%
Pytson World
8%
Pyshon World
16%
Error
5%
Show me the answer
Forwarded from Python Projects
#PracticeCode: 0047
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
You have to create a program to join multiple dictionaries to a new dictionary.

Sample :-

d1 = { "a" : 23 , "b" : 45 }
d2 = { "c" : 54 , "d" : 67 }

output - new_dict = { "a" : 23 , "b" : 45 , "c" : 54 , "d" : 67 }

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 #dict
Forwarded from Python Questions
print('*', "abcdef".center(7), '*')

# What is the output? Can you Explain?
Anonymous Quiz
17%
*abcdef*
18%
* abcdef *
18%
* abcdef *
17%
* abcdef *
16%
Error
14%
Show me the answer
🔥1
Forwarded from Python Questions
https://t.me/python_interview_questions/117

Only 14% got this correct.
 
True, False and None are capitalized, that is the first letter in these keywords start with a Capital letter.
The rest of all the other keywords are in lower case.
Hence, the correct answer is "
None of the above
".
Forwarded from Python Projects
#PracticeCode: 0047
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
You have to create a program to join multiple dictionaries to a new dictionary.

Sample :-

d1 = { "a" : 23 , "b" : 45 }
d2 = { "c" : 54 , "d" : 67 }

output - new_dict = { "a" : 23 , "b" : 45 , "c" : 54 , "d" : 67 }

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 #dict
Forwarded from Python Questions
print("abbcabcacabb".count('abb', 2, 11))

#What is the output of the above statement? Explain this statement?
Anonymous Quiz
27%
2
23%
1
14%
0
21%
Error
14%
Show me the answer
Forwarded from Python Projects
#PracticeCode: 0048
🎯 FORWARD IF YOU LIKE IT 🎯

Task:
You have to create a program to create a dictionary. Take input of an integer (from 1 to n) and print the dictionary in (a , a**2) format.

Sample :-

Input - 4

Output - { 1 : 1 , 2 : 4 , 3 : 9 , 4 : 16}

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 #dict
Forwarded from Python Questions
print('xy'.isalpha())

#What is the output of the above code?
Anonymous Quiz
8%
xy
51%
True
21%
False
10%
xy.isalpha
4%
Error
6%
Show me the answer