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 Questions
print("""A
B
C """=="A\nB\nC\n") #What is the output
Anonymous Poll
26%
True
23%
False
20%
Error
10%
ABC
21%
Invalid Statement
Forwarded from Python Projects
Did You Know - Python Tips

# Very simple string reverse trick in Python
x = 'Python'
print(x[::-1])

» nohtyP

#python #tips #HowTo
Forwarded from Python Projects
Did You Know - Python Tips : 002

# In-Place Swapping Of Two Variables, works with any datatype

x, y = 'hello', 'world'
print(x, y)
x, y = y, x
print(x, y)

#python #tips #HowTo
Forwarded from Python Projects
Did You Know - Python Tips : 003

# Using all the elements in a list, create a single string

mylist = ["Hello!", "Welcome", " to", "iGnani"]
print(" ".join(mylist))

#python #tips #HowTo
Forwarded from Python Projects
*

Building Tic-Tac-Toe with Pygame Tutorial
Pygame is a useful python module that allows you to build graphical interfaces. It is great for python beginners to use and can lead to many interesting projects.

#python #sourceCode #sampleCode #pygame #project #game
Forwarded from Python Questions
x = 1.3 + 2.3
print(x == 3.6) # what is the output? Can you explain?
Anonymous Poll
16%
3.6
1%
1.3
2%
2.3
67%
True
14%
False
Forwarded from Python Projects
Drawing Kaleidoscope Pictures with Pygame
A very simple project to make a Kaleidoscope image using Python.
Good for practice program.

#python #sourceCode #sampleCode #pygame #random
Forwarded from Python Questions
Which of the following functions will return an iterable object?
Anonymous Poll
11%
len()
5%
ord()
11%
xrange()
59%
range()
14%
none of the above
Forwarded from Python Projects
Practice Code : 001

Accept a number from the user, and return the value in reverse order.
* Input: 123456 --- Output: 654321
* Input: -987654 --- output: -456789

#python #practice #code #interviewQuestions #strings #numbers
Forwarded from Python Projects
Practice Code: 001

Each level increases the complexity. Each level should satisfy the previous level

🔥How many levels can you achieve? 🔥

#python #practiceCode #samples #interviewQuestions #strings #numbers #validation
Forwarded from Python Questions
x, y, z = 5, 10, 15
z = x <= y #What is the value of z?
Explain why your answer is correct!!!
Anonymous Poll
8%
5
13%
15
42%
True
17%
False
20%
Error in statement
Forwarded from Python Questions
"=".join(['1', '2', '4', '8', '16']) #what is the output. Explain Why?
Anonymous Poll
18%
1, 2, 4, 8, 16
3%
1, 2, 4, 8, 16, 32
47%
1=2=4=8=16
10%
1=2=4=8=16=32
21%
Syntax Error
Forwarded from Python Projects
Practice Code: 002

Accept a number from the user and return the sum of all natural numbers that are multiples of 5,7 less than the number entered by the user. Example --- Input: 15 --- 5, 7, 10, 14 and return 36

🔥Can you solve this? 🔥
#python #practiceCode #samples #interviewQuestions #numbers
Forwarded from Python Questions
Is this a valid code. If you say no, then explain?
Forwarded from Python Questions
Which of the following operators has the lowest precedence?
Anonymous Poll
27%
not
11%
and
7%
**
39%
+
16%
%
Forwarded from Python Projects
pyIDM - Download Manager in Python

python open source alternative to IDM (Internet Download Manager) with multi-connections, high speed engine, based on python, pycurl, youtube_dl, and pysimplegui.

For those looking for some complex projects to get your hands dirty, try this one. Source code is available for reference, build it and if you find interesting, join the repo.
#python #sourceCode #sampleCode #project #pycurl #youtube_dl #pysimplegui
Forwarded from Python Questions
y, z = 10, 15
y *= y + z # What is the value of y. Explain How?
Anonymous Poll
3%
10
8%
25
23%
115
51%
250
15%
Syntax error
Forwarded from Python Questions
*

myList = [1, 2, 3, 4, 2, 2, 3, 1, 4, 4, 4,5,5,6,7,6,5]

A) Write a program to get the value that appears more number of times
B) When there is a tie, then get the number which is the smallest of them

#python #practiceCode #samples #interviewQuestions #numbers #list
Forwarded from Python Questions
# Sequence Puzzle
[30, 9, 40, 50, 91, 142, 234, ?] Find the next value?
Anonymous Poll
17%
276
16%
277
22%
334
17%
376
28%
377
Forwarded from Python Projects
Typing Speed Test – Build your first game in Python

In this Python project idea, we are going to build an exciting project through which you can check and even improve your typing speed. For a graphical user interface, we are going to use the pygame library which is used for working with graphics. We will draw the images and text to be displayed on the screen.
#python #sourceCode #sampleCode #project #pygame
Forwarded from Python Questions
*

name = 'ppy!'
Write code to insert the letter 'a' in-between each letter to form the word 'papaya!'

#python #practiceCode #samples #interviewQuestions #strings #list