Epython Lab via @vote
1. Complete the code to return the following output p = [‘a’, ‘b’, ‘c’, ‘c’, ‘d’, ‘d’] _?__ (p[3:5]) print (p) Output: [‘a’, ‘b’, ;c’, ‘d’]
public poll
remove – 7
👍👍👍👍👍👍👍 78%
Bina, @contramot, Jay, @sal_270, Emil, @Asgardia360, @RaviVarma_T
rm – 1
👍 11%
Pallab
del – 1
👍 11%
@asibehtenager
👥 9 people voted so far.
public poll
remove – 7
👍👍👍👍👍👍👍 78%
Bina, @contramot, Jay, @sal_270, Emil, @Asgardia360, @RaviVarma_T
rm – 1
👍 11%
Pallab
del – 1
👍 11%
@asibehtenager
👥 9 people voted so far.
✅Python | type() function
type() method returns class type of the argument(object) passed as parameter. type() function is mostly used for debugging purposes.
Two different types of arguments can be passed to type() function, single and three argument. If single argument type(obj) is passed, it returns the type of given object. If three arguments type(name, bases, dict) is passed, it returns a new type object.
Syntax : type(object)
Therefor the answer of the above question is print(type(x))
Any doubt ask
Join group discussion:
https://t.me/joinchat/H8JEqEojXCb0mUfnlAqbVA
type() method returns class type of the argument(object) passed as parameter. type() function is mostly used for debugging purposes.
Two different types of arguments can be passed to type() function, single and three argument. If single argument type(obj) is passed, it returns the type of given object. If three arguments type(name, bases, dict) is passed, it returns a new type object.
Syntax : type(object)
Therefor the answer of the above question is print(type(x))
Any doubt ask
Join group discussion:
https://t.me/joinchat/H8JEqEojXCb0mUfnlAqbVA
Epython Lab
What is the correct syntax to output the type of a variable or object in Python?
The answer is print(type(x))
Anyone wants to manage this @python4fds channel, send your name, your current job and your future plan if you are assign as an admin of the channel via @asibehtenager
👍1
#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
numbers = [ 6, 0, 2, 2, 1, 4, 1, 5]
Print out the above list items in a reverse order?
Post your answer @pythonEthBot
If you are still a student apply https://summerofcode.withgoogle.com/dashboard/student/proposal-summary/
Forwarded from Nisrin
reverselist.py
123 B
Solution for the problem asked in the group...Nisrin Dhoondia
#PythonQ&A #DataCollection
females = sets (['marge', 'maude', 'lisa', 'maggie', 'edna' ])
Simpsons = sets (['homer', 'marge', 'bart', 'lisa', 'maggie'])
Finding the common elements
Discus on it and bring efficient solution.
females = sets (['marge', 'maude', 'lisa', 'maggie', 'edna' ])
Simpsons = sets (['homer', 'marge', 'bart', 'lisa', 'maggie'])
Finding the common elements
Discus on it and bring efficient solution.
What is the output of print (x+y) If x = '22' and y = '78'
Anonymous Poll
44%
100
8%
7822
40%
2278
8%
Null
#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.