Epython Lab
Ir al canal en 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
Mostrar más6 316
Suscriptores
-424 horas
-67 días
-2830 días
Archivo de publicaciones
6 317
#Solution
1. Using index() function we can determine the position of the first character of the substring in the string example: text.index("Sci") is 5.
2. The same thing we can use find() function
Example: text.find("Sci") is 5.
Note: the difference between these functions in how they deal with the situation when the substring is not contained in the string. For the index() function an error is generated but instead the find() function returns -1.
Example: text.find("s") # -1
text.index("s) # return error
Because small "s" is not found in the string "Data Science"
#DataScience #String #Python
#Prevent #COVID19
6 317
✅ Do the following everyday
1. Wash your hand
2. Stop shake your hand
3. Keep 1M distance with the other person
4. Don't touch anything else
Then protect #COVID19
6 317
#Python #DataScience #String
There are two functions that let you determine the positions of (the first occurrence of) a substring inside a string.
Example:- text = "Data Science"
Can you determine the position of "Sci" using both of the functions?
Post your solution @pythonEthBot
#COVID-19 is our challenge
6 317
The Answer is 1, 5, 14, 30, 55, 91
this is b/c
first the x (the first no. in array) multiply it self b/c of "Bodmas" rule then added to initial "total" (which is 0) then the new value of "total" is updated to (0 + x*x ) ..
eg. the first no. in array is 1 so 1 multply it self then added to total (0) this meams 👉(0+1*1) = 1 so the new value of var "total" is 1 !
this continued until reaches the last number in array ........
total = 0 +1*1 = 1
total = 1+2*2 =5
total = 5 + 3*3 =14 ... and soon
@official_gemechis
6 317
#ControlStatement #FlowProgram #PythonLoop #DataScience
What is the exact output?
#ProtectCoronaVirus
6 317
#Ans:-
Operations in #Python are appropriate to the type of data involved, so for the above example the result is the text '2278' not the number 100.
6 317
#DataScience
Data plays an important role in almost all private and public sector employment. The need to understand how to use data to inform decision making in many occupations has never been more important. This qualification equips you with the key skills to explore and analyse complex data sets, and to solve practical problems using applied mathematics, statistics and computing. You’ll gain a good grounding in mathematical and statistical methods, which provide a foundation for data analysis; together with the essential computing skills needed to use them to solve practical problems, including elements of machine learning and artificial intelligence. You’ll also gain experience of using statistical software packages.
#ProtectCoronaVirus
6 317
#PythonQ&A #DataCollection
females = sets (['marge', 'maude', 'lisa', 'maggie', 'edna' ])
Simpsons = sets (['homer', 'marge', 'bart', 'lisa', 'maggie'])
Finding the common elements
Post your solution @pythonEthBot
6 317
If you are still a student apply https://summerofcode.withgoogle.com/dashboard/student/proposal-summary/
6 317
#PythonQ&A #DataScience #Bioinformatics
numbers = [ 6, 0, 2, 2, 1, 4, 1, 5]
Print out the above list items in a reverse order?
Post your answer @pythonEthBot
¡Ya disponible! Investigación de Telegram 2025 — los principales insights del año 
