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")

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter4: The Selection Structure
Section: Chapter Questions
Problem 37RQ: An expression can contain arithmetic, comparison, and logical operators. Indicate the order of...
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
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning