CHALLENGE ACTIVITY
Creating a named tuple
Define a named tuple Player that describes an athl...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 12.08.2020 05:01 adenmoye0910
CHALLENGE ACTIVITY
Creating a named tuple
Define a named tuple Player that describes an athlete on a sports team. Include the fields name, number, position, and team.
Player'Lebron James', '23', 'Small forward', Los Angeles Lakers')
1 from collections import namedtuple
2
3 Player = Your solution goes here
4
5 cam = Player'Cam Newton', '1', 'Quarterback', 'Carolina Panthers)
6 Lebron = Player('Lebron James', '23', 'Small forward', Los Angeles Lakers')
7
8 print(cam. name '(# ' + cam. number +') is a + cam position + for the cam. team)
9 print(lebron. name '(# ' + lebron. number +') is a + lebron position + for the lebron. team)
![ansver](/tpl/images/cats/User.png)
Answers: 3
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 01:00
Search the web for two examples of digital art that you like. the examples must be from different mediums (example: one digital photo and one computer animation not two computer animations). compose an essay for each example you choose about why the piece appeals to you, and identify the medium used.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:00
What are two of the most common reasons that peolpe who need mental health care do not access it?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 15:10
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 06:40
How many nibbles can be stored in a 16-bit word?
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 11.01.2020 12:31
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/geografiya.png)
Geography, 11.01.2020 12:31
![question](/tpl/images/cats/en.png)
English, 11.01.2020 12:31
![question](/tpl/images/cats/istoriya.png)
History, 11.01.2020 12:31
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 11.01.2020 12:31
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 11.01.2020 12:31
![question](/tpl/images/cats/istoriya.png)
History, 11.01.2020 12:31
![question](/tpl/images/cats/mat.png)
Mathematics, 11.01.2020 12:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 11.01.2020 12:31
![question](/tpl/images/cats/mat.png)
Mathematics, 11.01.2020 12:31
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 11.01.2020 12:31
![question](/tpl/images/cats/mat.png)
Mathematics, 11.01.2020 12:31
![question](/tpl/images/cats/en.png)