1 #1 assign the name Lebron to the variable name first then assign the name James to the variable name last 2 # write a statement to display the player's full name with a space between the first and last name (e.g. L 3 # write a statement to display the player's name and jersey number in the following format: 4 # Jersey 23: Lebron James (note the spaces) 5 first="Lebron" 6 last="James" 7 print (first, last) 8 print("Jersey 23: ", first, last) a 10 #2 assign the name Kobe to the variable name first then assign the name Bryant to the variable name last 11 # write a statement to display the player's full name (Kobe Bryant) 12 # write a statement to display the player's name and jersey number in the following format: 13 # Jersey 8: Kobe Bryant 14 first "Kobe" 15 last="Bryant" 16 print (first, last) 17 print("Jersey 8:", first, last) 18 19 #3 use an input() statement to ask the user for a player's first name and assign it to the variable name f 20 # use an input() statemetnt to ask the user for a player's last name and assign it to the variable l 21 # display the following statement using the user's inputs: 22 # Jersey 23: [user entered first name] [user entered last name] 23 f=input() 24 1-input() 25 print("Jersey 23:".f.1) 27 #4 use an input() statement to ask the user for a player's first name and assign it to the variable name f 28 # use an input() statemetnt to ask the user for a player's last name and assign it to the variable 1 29 # display the following statement using the user's inputs: 30 # Position Forward: [user entered first name] [user entered last name] 31 f=input() 32 1=input() 33 print("Position Forward: ",f,l) 34 35 # 5. use an input() statement to ask the user to input a team name and assign it to the variable team 36 # use a print() statement to display the user input with the word Go before it and an exclamation point a 37 #. For example, if the user enters 38 # Warriors, your output should read Go Warriors! (use commas for spaces between words and exclamation po 39 team=input("Warriors:") 49 print("Go" team "1")

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

I worked on the problems but it appears to be incorrect. Please fix and help the outputs. Thanks!   

1 # 1 assign the name Lebron to the variable name first then assign the name James to the variable name last
2 # write a statement to display the player's full name with a space between the first and last name (e.g. L
3 # write a statement to display the player's name and jersey number in the following format:
4 # Jersey 23: Lebron James (note the spaces)
5 first="Lebron"
6 last="James"
7 print(first, last)
8 print("Jersey 23:", first, last)
10 #2 assign the name Kobe to the variable name first then assign the name Bryant to the variable name last
11 # write a statement to display the player's full name (Kobe Bryant)
12 # write a statement to display the player's name and jersey number in the following format:
13 # Jersey 8: Kobe Bryant
14 first-"Kobe"
15 last="Bryant"
16 print (first, last)
17 print("Jersey 8:", first, last)
18
19 #3 use an input() statement to ask the user for a player's first name and assign it to the variable name f
20 # use an input() statemetnt to ask the user for a player's last name and assign it to the variable 1
21 # display the following statement using the user's inputs:
22 # Jersey 23: [user entered first name] [user entered last name]
23 f=input()
24 1=input()
25 print("Jersey 23:".f.l)
27 #4 use an input() statement to ask the user for a player's first name and assign it to the variable name f
28 # use an input() statemetnt to ask the user for a player's last name and assign it to the variable 1
29 # display the following statement using the user's inputs:
30 # Position Forward: [user entered first name] [user entered last name]
31 f-input()
32 1=input()
33 print("Position Forward: ", f, 1)
34
35 # 5. use an input() statement to ask the user to input a team name and assign it to the variable team
36 # use a print() statement to display the user input with the word Go before it and an exclamation point a
37 #. For example, if the user enters
38 # Warriors, your output should read Go Warriors! (use commas for spaces between words and exclamation po
39 team-input("Warriors:")
40 print("Go".team."!")
Transcribed Image Text:1 # 1 assign the name Lebron to the variable name first then assign the name James to the variable name last 2 # write a statement to display the player's full name with a space between the first and last name (e.g. L 3 # write a statement to display the player's name and jersey number in the following format: 4 # Jersey 23: Lebron James (note the spaces) 5 first="Lebron" 6 last="James" 7 print(first, last) 8 print("Jersey 23:", first, last) 10 #2 assign the name Kobe to the variable name first then assign the name Bryant to the variable name last 11 # write a statement to display the player's full name (Kobe Bryant) 12 # write a statement to display the player's name and jersey number in the following format: 13 # Jersey 8: Kobe Bryant 14 first-"Kobe" 15 last="Bryant" 16 print (first, last) 17 print("Jersey 8:", first, last) 18 19 #3 use an input() statement to ask the user for a player's first name and assign it to the variable name f 20 # use an input() statemetnt to ask the user for a player's last name and assign it to the variable 1 21 # display the following statement using the user's inputs: 22 # Jersey 23: [user entered first name] [user entered last name] 23 f=input() 24 1=input() 25 print("Jersey 23:".f.l) 27 #4 use an input() statement to ask the user for a player's first name and assign it to the variable name f 28 # use an input() statemetnt to ask the user for a player's last name and assign it to the variable 1 29 # display the following statement using the user's inputs: 30 # Position Forward: [user entered first name] [user entered last name] 31 f-input() 32 1=input() 33 print("Position Forward: ", f, 1) 34 35 # 5. use an input() statement to ask the user to input a team name and assign it to the variable team 36 # use a print() statement to display the user input with the word Go before it and an exclamation point a 37 #. For example, if the user enters 38 # Warriors, your output should read Go Warriors! (use commas for spaces between words and exclamation po 39 team-input("Warriors:") 40 print("Go".team."!")
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Form and its Elements
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education