Epython Lab
Open in Telegram
Welcome to Epython Lab, where you can get resources to learn, one-on-one trainings on machine learning, business analytics, and Python, and solutions for business problems. Buy ads: https://telega.io/c/epythonlab
Show more6 186
Subscribers
-324 hours
-227 days
-6830 days
Posts Archive
6 186
â
TIP
Indentation is important for python programming you never miss it.
Indentation refers to the spaces at the beginning of a code line.
Where in other programming languages the indentation in code is for readability only, the indentation in Python is very important.
Python uses indentation to indicate a block of code.
Example:
for x in range (2, 5):
print x
N.B: Python will give you an error if you skip the indentation:
EXAMPLE:
for x in 5:
print x
6 186
What is the correct syntax to output the type of a variable or object in Python?
 Â
6 186
Python Tips and Trick, You Haven't Already Seen
part1 : https://martinheinz.dev/blog/4
part2 : https://dev.to/martinheinz/python-tips-and-trick-you-haven-t-already-seen-1p41
habr: https://habr.com/ru/company/ruvds/blog/485646/
6 186
5 Reasons Why Programmers Should Think like Hackers:
1. Incomparable tenacity
2. Doing instead of reading and traditional learning
3. Anticipating potential security breaches
4. Creative thinking and willingness to break out of the mold
5. Having fun!
https://thehackernews.com/2019/12/cybersecurity-for-programmers.html
6 186
#NumberChallenge
How to put 1000000000 number like 1, 000,000,00.00?
Post your solution @pythonETHbot
6 186
â
You can't make the same mistake twice. The second time you make it, it's no longer a mistake, it's a choice.
#PyschologicalFact
6 186
def reverser(str):
reversed = ""
for i in range(len(str) - 1 , -1 , -1):
reversed += str[i]
return reversed
print(reverser("i love python"))
6 186
â
12 Reasons Why You should learn Python in 2019
â°15 Minutes Reading
Share if you like it
https://telegra.ph/12-Reasons-you-should-learn-Python-11-25
6 186
#Tips
How to search hashtag?
1. Find search button from the action bar
2. Click on the search Icon đ
3. Type # symbol
4. Then all hashtag elements will display below then you can scroll down and find the hashtag the word you want to find out
6 186
#StringReverseChallenge
find the reverse of the given string
eg. "I love Python" then the reverse is "nohtyp evol i"
N.B: don't use any built in reverse function available.
6 186
#FindLongestWordLengthChallenge
Solution by @Abcdefghijklmnopqrstuvwxyz784629
def findLongestWordLength(name):
lis = name.split();
l = len(lis[0])
for i in lis:
if len(i) > l:
l = len(i)
return l;
print(findLongestWordLength("The quick brown fox jumped over the lazy dog"))
6 186
#FindLongestWordLengthChallenge
Coding challenge - Return the length of the longest word in the provided sentence.
Your response should be a number.
e.g
findLongestWordLength("The quick brown fox jumped over the lazy dog") should return 6.
6 186
#Tips
Why NumPy is faster than array list?
â
Size:- Numpy data structures take up less space
â
Performance:- they have a need for speed and are faster than lists
â
Functionality:Â - SciPy and NumPy have optimized functions such as linear algebra operations built in.
â
Memory:- The main benefits of using NumPy arrays should be smaller memory consumption and better runtime behavior.Â
6 186
Dear all, try our learning platform beta version. We will start the course next week
â ď¸No Database is created in the server right now. It is not functional. Wait till we will fully publish it.
https://www.mefitihe.et/
6 186
#NumpyArrayChallenge
â
Create python code to save Numpy Array to txt file and then read the file
N.B. the purpose of this challenge is to learn how to save large numpy array to file and then use for machine learning.
Input ([[1, 6, 3, 4], [2, 3, 4,6],[7,8,9,10], [89, 67, 68, 90]])
Expected output:
1 6 3 4
2 3 4 6
7 8 9 10
89 67 68 90
Post your solution https://t.me/joinchat/H8JEqEojXCb0mUfnlAqbVA
