Your friend is working on an app for jobseekers. She sends you this bit of code: name = "Tim Tester" age 20 skill1= "python" level1 = "beginner" skil12= "java" level2= "veteran" skill3 = "programming" level3 = "semiprofessional" lower 2000 upper 3000 print("my name is ", name, ", I am ", age, "years old") print("my skills are") print(" ", skilll," (", levell, ")") print("", skil12," (", level2, ")") print(" ", ski113," (", level3, ")") print("I am looking for a job with a salary of", lower, The program should print out exactly the following: my name is Tim Tester, I am 20 years old my skills are - python (beginner) - java (veteran) - programming (semiprofessional) I am looking for a job with a salary of 2000-3000 euros per month The code works almost correctly, but not quite. This exercise has very strict tests, which check the output for every single bit of whitespace. Please fix the code so that the printout looks right. Notice especially how the comma notation in the print command automatically inserts a space around the different comma-separated parts. The easiest way to transform the code so that it meets requirements is to use f- strings. 1 2 name = "Tim Tester" upper, "euros per m Hint: you can print an empty line by adding an empty print command, or by adding the newline character \n into your string. 3 age = 20 4 skill1= "python" "beginner" Do remember to be extra careful when formatting printouts also in the future on this course. Some of the exercises have tests that require your output to be exactly as specified in the examples given. For example, please use actual whitespace characters in your code, instead of ASCII character codes for whitespace, or some such. 5 level1 6 skill2 = "java" 7 level2= "veteran" 8 skill3 9 level3 = "semiprofessional" 10 lower = 2000 11 upper = 3000 12 13 14 15 16 Sample output "programming" print("my name is ", name, print("my skills are") ▶ , I am ", age, "years old") print(" ", skill1, ", skill1, " (", level1, ")") print("", skill2, " (", level2, ")") 17 print("-", skill3, " (", level3, ")") 18 print("I am looking for a job with a salary of", lower, "-", upper, "euros per month"

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

Can you use Python programming language to wirte this  code?

Thank you very much!

Your friend is working on an app for jobseekers. She sends you this bit of code:
name = "Tim Tester"
age = 20
skilll "python"
level1 = "beginner"
skil12"java"
level2 = "veteran"
skil13 "programming"
level3 = "semiprofessional"
lower 2000
upper 3000
print("my name is ", name, " I am ", age, "years old")
3
print("my skills are")
print(" ", skilll, "(", level1, ")")
print(" ", skil12, (", level2, ")")
print("-", skil13, " (", level3, ")")
print("I am looking for a job with a salary of", lower, "-", upper, "euros per mc
<
=
The program should print out exactly the following:
my name is Tim Tester, I am 20 years old
my skills are
- python (beginner)
I am looking for a job with a salary of 2000-3000 euros per month
- java (veteran)
- programming (semiprofessional)
The code works almost correctly, but not quite. This exercise has very strict tests,
which check the output for every single bit of whitespace.
Please fix the code so that the printout looks right. Notice especially how the comma
notation in the print command automatically inserts a space around the different
comma-separated parts.
The easiest way to transform the code so that it meets requirements is to use f-
strings.
1
2
3
Hint: you can print an empty line by adding an empty print command, or by adding
the newline character \n into your string.
Do remember to be extra careful when formatting printouts also in the future on this
course. Some of the exercises have tests that require your output to be exactly as
specified in the examples given. For example, please use actual whitespace characters
in your code, instead of ASCII character codes for whitespace, or some such.
name = "Tim Tester"
age = 20
4 skill1 = "python"
5 level1 = "beginner"
6 skill2="java"
7 level2= "veteran"
8
10
11
12
skill3 = "programming"
9 level3 = "semiprofessional"
Sample output
▶
15
16
lower 2000
upper 3000
13 print("my name is ", name, ", I am ", age, "years old")
14 print("my skills are")
print(" ", skill1, " (", level1, ")")
print(" ", skill2, " (", level2, ")")
17
print("-", skil13, (", level3, ")")
18 print("I am looking for a job with a salary of", lower, "-", upper, "euros per month"I
Transcribed Image Text:Your friend is working on an app for jobseekers. She sends you this bit of code: name = "Tim Tester" age = 20 skilll "python" level1 = "beginner" skil12"java" level2 = "veteran" skil13 "programming" level3 = "semiprofessional" lower 2000 upper 3000 print("my name is ", name, " I am ", age, "years old") 3 print("my skills are") print(" ", skilll, "(", level1, ")") print(" ", skil12, (", level2, ")") print("-", skil13, " (", level3, ")") print("I am looking for a job with a salary of", lower, "-", upper, "euros per mc < = The program should print out exactly the following: my name is Tim Tester, I am 20 years old my skills are - python (beginner) I am looking for a job with a salary of 2000-3000 euros per month - java (veteran) - programming (semiprofessional) The code works almost correctly, but not quite. This exercise has very strict tests, which check the output for every single bit of whitespace. Please fix the code so that the printout looks right. Notice especially how the comma notation in the print command automatically inserts a space around the different comma-separated parts. The easiest way to transform the code so that it meets requirements is to use f- strings. 1 2 3 Hint: you can print an empty line by adding an empty print command, or by adding the newline character \n into your string. Do remember to be extra careful when formatting printouts also in the future on this course. Some of the exercises have tests that require your output to be exactly as specified in the examples given. For example, please use actual whitespace characters in your code, instead of ASCII character codes for whitespace, or some such. name = "Tim Tester" age = 20 4 skill1 = "python" 5 level1 = "beginner" 6 skill2="java" 7 level2= "veteran" 8 10 11 12 skill3 = "programming" 9 level3 = "semiprofessional" Sample output ▶ 15 16 lower 2000 upper 3000 13 print("my name is ", name, ", I am ", age, "years old") 14 print("my skills are") print(" ", skill1, " (", level1, ")") print(" ", skill2, " (", level2, ")") 17 print("-", skil13, (", level3, ")") 18 print("I am looking for a job with a salary of", lower, "-", upper, "euros per month"I
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Introduction to Coding
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