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
What is the output of the following program :
print('{0:.2}'.format(1.0 / 3))
Anonymous Quiz
21%
0.333333
36%
0.33
11%
0.333333:-2
32%
Syntax error
Forwarded from Python Projects
#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
🌟

Introduction to Python: Absolute Beginner - By Microsoft
In this course that's perfect for true beginners, learn Python basics and start coding right away.

What you'll learn
* Using Python in Jupyter Notebooks
* Gathering input and manipulating input/output
* Building reusable Functions with parameters and return values
* Decisions and repetition using conditional statements and loops

🔥 Free Training 🔥 —————— Pay only if you want a certificate

#python #tutorial #beginners #free #Course
🌟

Python Core and Advanced - Master the fundamentals of Python in easy steps

Whether you are a College student learning the fundamentals of Python or a Data Science expert using python to analyze your data or a Web Developer using python frameworks like DJango or a Experienced python developer who wants to fill in the gaps , this course will help you accomplish your goals.

🔥 Free Training 🔥 —————— Pay only if you want a certificate

#python #tutorial #advanced #free #Course
🌟

Data Science Methodology
This course has one purpose, and that is to share a methodology that can be used within data science, to ensure that the data used in problem solving is relevant and properly manipulated to address the question at hand.
Accordingly, in this course, you will learn:
* The major steps involved in tackling a data science problem.
* The major steps involved in practicing data science, from forming a concrete business or research problem, to collecting and analyzing data, to building a model, and understanding the feedback after model deployment.
* How data scientists think!

🔥 Free Training 🔥

#DataScience #tutorial #beginners #free #machineLearning #Course
Forwarded from Python Projects
#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
Forwarded from Python Questions
What is the output of this statement

print ((1,2,3) <(1,2,4))
Anonymous Quiz
53%
True
25%
False
4%
None
14%
Error
4%
None of the above
Forwarded from Python Questions
#interviewQuestions : 0005

Is Python interpreted or compiled?

A common question: “Is Python interpreted or compiled?” Usually, the asker has a simple model of the world in mind, and as is typical, the world is more complicated.
In the simple model of the world, “compile” means to convert a program in a high-level language into a binary executable full of machine code (CPU instructions). When you compile a C program, this is what happens. The result is a file that your operating system can run for you.

In the simple definition of “interpreted”, executing a program means reading the source code a line at a time, and doing what it says.
Compiling is a more general idea: take a program in one language (or form), and convert it into another language or form.
In Python, the source code is compiled into a much simpler form called bytecode. These are instructions similar in spirit to CPU instructions, but instead of being executed by the CPU, they are executed by software called a virtual machine.

So, if you can explain all this, then you can say its both a compiled and interpreted language.

But, if you want to give a simple and short answer, then say it is a interpreted language.
Forwarded from Python Questions
Which is faster in performance while searching around a million records plus?
Anonymous Quiz
23%
List
10%
Set
25%
Dict
20%
Tuple
13%
All have the same performance
9%
See the answer
This media is not supported in your browser
VIEW IN TELEGRAM
Retouch Image - Nvidia InPainting

The algorithms can replace images or remove unnecessary details in the photo. To do this, upload a photo and use the brush to create a mask of the desired object.

https://www.nvidia.com/research/inpainting/
Forwarded from Python Questions
#interviewQuestions : 0006

What is pep 8?

PEP 8, sometimes spelled PEP8 or PEP-8, is a document that provides guidelines and best practices on how to write Python code. It was written in 2001 by Guido van Rossum, Barry Warsaw, and Nick Coghlan. The primary focus of PEP 8 is to improve the readability and consistency of Python code.

PEP stands for Python Enhancement Proposal, and there are several of them. A PEP is a document that describes new features proposed for Python and documents aspects of Python, like design and style, for the community.
Forwarded from Python Projects
#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
Forwarded from Python Questions
What is the output of this statement?

16//3+16//-3
Anonymous Quiz
6%
1
51%
0
13%
-1
7%
True
13%
Invalid Statement
9%
Show the answer
Forwarded from Python Questions
#interviewQuestions : 0007

What is the output of the following statement? Explain Why?

16//-3
Output: -6

// (Floor division)
It gives the floor value of the quotient produced by dividing the two operands. In other words, the floor division // rounds the result down to the nearest whole number.
print(x/y)
print(x//y)
Notice that we are using the same values for x and y operands. But the result is quite different between / and //.
When the result of floor division (//) is positive, it is as though the fractional portion is truncated off, leaving only the integer portion.
When the result is negative, the result is floored, i.e., rounded away from zero (towards negative infinity). In other words, rounded down to the next smallest (greater negative) integer.
Let us see some more examples.
print(float(x)//float(y)) # Notice the result will also be a float.

x = -13 # Notice the value of `x` is assigned by with a unary negation (`-`) operator
y = 3
print(x//y) # Notice the result.
# Instead of rounding up to 4 like in the case of a positive result, it round up to -5, the lesser value

x= -13.0 # We changed the type of `x` from int to float. No change in value.
print(x//y) # What will be the result.
Unlike the standard division (/), the result is not always a float. But when one of the operands is a float, then the result will also be a float.
Division by zero will yield in the same error as above.
Forwarded from Python Projects
#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
Forwarded from Python Questions
y, z = 10, 15;
b = c = 0;
b = y - y + z; y -= (y + z); #What is the value of b & y respectively? Please Explain?
Anonymous Quiz
18%
15, 15
47%
15, -15
11%
-15, 15
14%
Error
10%
Show me the answer