#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
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
Epython Lab
What is the output of print (x+y) If x = '22' and y = '78'
Epython Lab via @like
I AM ALWAYS INTERESTED TO SHARE YOU MY KNOWLEDGE DAILY.
Forwarded from Deleted Account
#ControlStatement #FlowProgram #PythonLoop #DataScience
What is the exact output?
#ProtectCoronaVirus
What is the exact output?
#ProtectCoronaVirus
With some correction. This is not an array but it is a python list.
Forwarded from Deleted Account
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
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
#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
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
✅ 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
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
Epython Lab
#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? …
#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
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
#Q1
#DataScience #Python #String
You can split up your string into separate substrings according to the presence of whitespace. This creates a list of strings, where a 'list' is simply a container for the strings. Lists are Python objects in thier own right and we will discuss further in the next time.
In the other way we can also combine a list of strings and create a single long text.
Q: what functions we use to separate and combine strings? Explain using examples.
Post your solution @pythonEthBot
#PreventCOVID19
#DataScience #Python #String
You can split up your string into separate substrings according to the presence of whitespace. This creates a list of strings, where a 'list' is simply a container for the strings. Lists are Python objects in thier own right and we will discuss further in the next time.
In the other way we can also combine a list of strings and create a single long text.
Q: what functions we use to separate and combine strings? Explain using examples.
Post your solution @pythonEthBot
#PreventCOVID19
#Solution for #Q1 by @oneyedking
split() function used to split string to substrings
Example :
Str = "coding with python"
Str.split(' ')
Result : "coding", "with", "python"
By @met_asploit
There are built in func
split and join
while split is used to separate a string and create a list , join is used to combine list and create a string
>>> a = ['a' , 'b' , 'c' , 'd']
>>>' '.join(a)
'a b c'
>>>b = 'hello how are you'
>>>b.split(' ')
['hello' , 'how' , 'are' , 'you']
split() function used to split string to substrings
Example :
Str = "coding with python"
Str.split(' ')
Result : "coding", "with", "python"
By @met_asploit
There are built in func
split and join
while split is used to separate a string and create a list , join is used to combine list and create a string
>>> a = ['a' , 'b' , 'c' , 'd']
>>>' '.join(a)
'a b c'
>>>b = 'hello how are you'
>>>b.split(' ')
['hello' , 'how' , 'are' , 'you']
Forwarded from Epython Lab (Asibeh Tenager)
Python and PyQt: Building a GUI Desktop Calculator
https://realpython.com/python-pyqt-gui-calculator/
https://realpython.com/python-pyqt-gui-calculator/
Realpython
Python and PyQt: Building a GUI Desktop Calculator – Real Python
In this tutorial, you'll learn how to create graphical user interface (GUI) applications with Python and PyQt. Once you've covered the basics, you'll build a fully functional desktop calculator that can respond to user events with concrete actions.
Forwarded from Epython Lab
For discussion use https://t.me/joinchat/H8JEqEojXCb0mUfnlAqbVA
#Q2
Collection data types
As well as the simple types, Python has several common collection data types, tuples, lists, sets and dictionaries, that provide a means of bringing multiple items together into a container.
Can you define each of the collection data types with simple example?
Post your solution @pythonEthBot
#DataScience #DataCollection
#PreventCOVID19
Collection data types
As well as the simple types, Python has several common collection data types, tuples, lists, sets and dictionaries, that provide a means of bringing multiple items together into a container.
Can you define each of the collection data types with simple example?
Post your solution @pythonEthBot
#DataScience #DataCollection
#PreventCOVID19
#Solution for #Q2
#DataScience #DataCollection
#Collectiondatatype
We will continue discussing on other collection types in next time.
Stay tuned
✅Apply health advises.
#QuarantineYourself
#DataScience #DataCollection
#Collectiondatatype
We will continue discussing on other collection types in next time.
Stay tuned
✅Apply health advises.
#QuarantineYourself