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 أيام
جاري تحميل البيانات...
القنوات المماثلة
سحابة العلامات
لا توجد بيانات
هل تواجه مشاكل؟ يرجى تحديث الصفحة أو الاتصال بمدير الدعم الخاص بنا.
الإشارات الواردة والصادرة
---
---
---
---
---
---
جذب المشتركين
مايو '24
مايو '24
+4
في 0 قنوات
أبريل '240
في 0 قنوات
Get PRO
مارس '240
في 0 قنوات
Get PRO
فبراير '24
+24
في 0 قنوات
Get PRO
يناير '24
+12
في 0 قنوات
Get PRO
ديسمبر '23
+442
في 0 قنوات
Get PRO
نوفمبر '230
في 0 قنوات
Get PRO
أكتوبر '230
في 0 قنوات
Get PRO
سبتمبر '230
في 0 قنوات
Get PRO
أغسطس '230
في 0 قنوات
Get PRO
يوليو '230
في 0 قنوات
Get PRO
يونيو '230
في 0 قنوات
Get PRO
مايو '230
في 0 قنوات
Get PRO
أبريل '230
في 0 قنوات
Get PRO
مارس '230
في 0 قنوات
Get PRO
فبراير '230
في 0 قنوات
Get PRO
يناير '230
في 0 قنوات
Get PRO
ديسمبر '22
+203
في 0 قنوات
Get PRO
نوفمبر '22
+183
في 0 قنوات
Get PRO
أكتوبر '220
في 0 قنوات
Get PRO
سبتمبر '22
+195
في 0 قنوات
Get PRO
أغسطس '22
+488
في 0 قنوات
Get PRO
يوليو '220
في 0 قنوات
Get PRO
يونيو '220
في 0 قنوات
Get PRO
مايو '22
+76
في 0 قنوات
Get PRO
أبريل '22
+2 251
في 0 قنوات
Get PRO
مارس '220
في 0 قنوات
Get PRO
فبراير '220
في 0 قنوات
Get PRO
يناير '220
في 0 قنوات
Get PRO
ديسمبر '210
في 0 قنوات
Get PRO
نوفمبر '210
في 0 قنوات
Get PRO
أكتوبر '210
في 0 قنوات
Get PRO
سبتمبر '210
في 0 قنوات
Get PRO
أغسطس '210
في 0 قنوات
Get PRO
يوليو '210
في 0 قنوات
Get PRO
يونيو '210
في 0 قنوات
Get PRO
مايو '210
في 0 قنوات
Get PRO
أبريل '21
+148
في 0 قنوات
Get PRO
مارس '21
+222
في 0 قنوات
Get PRO
فبراير '21
+197
في 0 قنوات
Get PRO
يناير '21
+230
في 0 قنوات
Get PRO
ديسمبر '20
+2 905
في 0 قنوات
| التاريخ | نمو المشتركين | الإشارات | القنوات | |
| 25 مايو | +1 | |||
| 24 مايو | 0 | |||
| 23 مايو | 0 | |||
| 22 مايو | +1 | |||
| 21 مايو | 0 | |||
| 20 مايو | 0 | |||
| 19 مايو | 0 | |||
| 18 مايو | +1 | |||
| 17 مايو | +1 | |||
| 16 مايو | 0 | |||
| 15 مايو | 0 | |||
| 14 مايو | 0 | |||
| 13 مايو | 0 |
منشورات القناة
PyTip for the day:
Use the "enumerate" function to iterate over a sequence and get the index of each element.
Sometimes when you're iterating over a list or other sequence in Python, you need to keep track of the index of the current element. One way to do this is to use a counter variable and increment it on each iteration, but this can be tedious and error-prone.
A better way to get the index of each element is to use the built-in "enumerate" function. The "enumerate" function takes an iterable (such as a list or tuple) as its argument and returns a sequence of (index, value) tuples, where "index" is the index of the current element and "value" is the value of the current element. Here's an example:
Iterate over a list of strings and print each string with its index
strings = ['apple', 'banana', 'cherry', 'date']
for i, s in enumerate(strings):
print(f"{i}: {s}")
In this example, we use the "enumerate" function to iterate over a list of strings. On each iteration, the "enumerate" function returns a tuple containing the index of the current string and the string itself. We use tuple unpacking to assign these values to the variables "i" and "s", and then print out the index and string on a separate line.
The output of this code would be:
apple
1: banana
2: cherry
3: date
Using the "enumerate" function can make your code more concise and easier to read, especially when you need to keep track of the index of each element in a sequence.| 2 | We are on Discord. Join us by clicking this link https://discord.gg/EPhnZDbS5T | 10 632 |
| 3 | PyTip for the day: When working with lists in Python, consider using list comprehensions instead of for loops to perform operations on the list elements. List comprehensions are more concise, readable, and often faster than using traditional for loops.
For example, instead of using a for loop to create a new list that contains the squared values of the elements in an existing list, you can use a list comprehension like this:
> numbers = 1, 2, 3, 4, 5
> squarednumbers = [num ** 2 for num in numbers]
This will create a new list squarednumbers containing the squared values of the elements in numbers. | 11 735 |
| 4 | Practice Code: 053
Task:
You have to create a program where a list of numbers is given and a number of rotation is given. Now you to bring last number of list in front and swift each number to the right. Do this till the given number of rotation.
Sample :-
input - [1,2,3,4] , 2
output - [4,1,2,3] -> [3,4,1,2]
Good luck!
««« Click here for solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #numbers #algorithm | 46 966 |
| 5 | Practice Code: 052
You have to create a program where you have to create a dictionary with key (1 to n) and value be square of the key.
Sample Run:-
input - 5
output - {1:1 , 2:4 , 3:9 , 4:16 , 5:25}
Good luck!
««« Click here for solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #numbers #algorithm | 16 310 |
| 6 | Practice Code: 051
Write a program to return the sum of a series of sequential numbers. The sequence can be
a. 1,2,3,4,5.......n
b. 1,3,5,7,9,11,.....n
c. 2,4,6,8,10,12.....n
d. 35,42,49,56,63....n
Note: Do not use a loop to add the numbers, if that is what your idea is, not use a sum() or similar function to add them.
Write an algorithm that optimally finds the sum total.
««« Click here for solution »»»
🔥Ready to take this challenge? 🔥
#python #practiceCode #samples #interviewQuestions #numbers #algorithm | 14 374 |
| 7 | #PracticeCode: 0050
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program where you have to create a list of first 5 and last 5 numbers in range of number 1 to 30.
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 #list | 11 535 |
| 8 | #PracticeCode: 0050
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program where a list two digit tuples are given and you have to arrange them in ascending order by watching 2nd elements of the tuples.
Given - [(2,5),(1,2),(4,4),(2,3)]
Output - [(1,2),(2,3),(4,4),(2,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 #list | 10 148 |
| 9 | #PracticeCode: 0049
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program where a list of words is given and you have to print only those words which are longer than the given number n. N has to taken as input by the user.
Given_list = ["python" , "java" , "c" , "c++" , "kotlin"]
Input - 3
Output - ["python" , "java" , "kotlin"]
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 #list | 8 909 |
| 10 | #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 | 9 443 |
| 11 | #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 | 9 243 |
| 12 | #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 | 7 746 |
| 13 | #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 | 7 277 |
| 14 | #PracticeCode: 0034
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
You have to create a program in which take input a list of numbers and print the sum of their rounded values to 10 ( if one's place is more than 5 then round to next 10 or vice versa).
Sample :-
input → 16,17,18,19,14
output → 80
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 | 6 611 |
| 15 | #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 | 6 620 |
| 16 | #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 | 6 223 |
| 17 | #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 | 6 030 |
| 18 | #PracticeCode: 0041
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Create a program in which a word or line is given as input and you have to print the number of letters, numbers and any special character (Not includes space) in it.
Sample :-
input - Python 3.8.1
output - Letters = 6
Numbers = 3
Special Char = 2
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 | 5 704 |
| 19 | #PracticeCode: 0040
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Create a program to take input 4 - digit binary numbers and print the even numbers in binary form.
Sample :-
input - 0100,0011,1010,1001,1100,1001
output - 0100,1010,1100
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 | 4 590 |
| 20 | #PracticeCode: 0039
🎯 FORWARD IF YOU LIKE IT 🎯
Task:
Create a program to input number of rows and coloumn and print a two-dimensional array.
Sample :-
input - rows = 2 , coloum = 2
output - [[0,1],[0,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 #conditions | 5 209 |
