Epython Lab – Telegram
Epython Lab
6.5K subscribers
651 photos
31 videos
104 files
1.21K links
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
Download Telegram
How to visualize latitude and longitude on Map?
Anonymous Quiz
28%
Using seaborn
39%
Using matplotlib
33%
Using folium
Which is the fastest method to create new list from the existing list?
Anonymous Quiz
77%
List comprehension
23%
For loop
👍4
What will be the output of the following code?
print(float(True))?
Check solution at the comment box
Anonymous Quiz
55%
1.0
16%
1
5%
0
24%
Type Error
👍4
Making Games with Python & Pygame

📓 Book

@epythonlab #pythonbooks
👍5
Generate Dummy Data.pdf
2.7 MB
Generate Dummy Data using Faker Library in Python
@epythonlab #pythonnotes
🔥3
Probability
Probability
is the mathematics of chance and luck. It has multiple real-world applications from engineering to medicine and beyond. Calculate and understand probabilities in a variety of situations.

It tells us how likely an event is to happen. We can use words such as certain, likely, evens and impossible to describe the likelihood of events.

If an event is certain to occur, that means it must happen 100% of the time. An example of this would be rolling a number less than 9 on a six-sided dice. This is certain as every number on a standard dice is less than 9.

More usually in mathematics, we denote probabilities in decimal or fraction form. This means that if something is 'certain' to happen, it would have a probability of 1.

Similarly an 'impossible' event can never occur, such as the chance of pulling a black ball from a bag of green balls. It simply cannot happen. In decimal notation, this is a probability of 0.

The terms 'likely' and 'unlikely' mean a probability of greater than and less
👍8
What is the output of the following code? Put your answer in the comment box?
@epythonlab #pop_quiz
👍5
What will be the output of the above code snippet? Put your answer in the comment box?
@epythonlab #pop_quiz
👍2
#CODE_CHALLENGE_2 #FUNCTION #LIST_SLIC #STRING

1. Commercial bank of Ethiopia realized that their policy of using the first five letters of an employee’s last name as a user name isn’t ideal when they have multiple employees with the same last name.

Write a function called account_generator that takes two inputs, first_name and last_name and concatenates the first three letters of each and then returns the new account name.

2. They also wants to update how they generate temporary passwords for new employees.

Write a function called password_generator that takes two inputs, first_name and last_name and then concatenate the last three letters of each and returns them as a string.

Example: first_name = "Asibeh"
last_name = "Tenager"

expected output: user_name = AsiTen
temp_password = behger

Post your solution in the comment box
@epythonlab
👍8
Forwarded from Epython Lab
Select valid variables. Multiple choices are possible.
Anonymous Poll
18%
12x
63%
x_12
40%
__x
45%
_x12
69%
x_y
9%
$_x
75%
xy
65%
fName