Build an Employee Profile Generator - Step 12

Tell us what’s happening:

how could I figuire out it is so hard and so effot

Your code so far

first_name = 'John'
last_name = 'Doe'
full_name = first_name + ' ' + last_name
address = '123 Main Street'
address += ', Apartment 4B'
employee_age = 28
employee_info = full_name + ' is ' + str(employee_age) + ' years old'
print(employee_info)

# User Editable Region

experience_years = 5
experience_info = 'Experience:', + 'experience_years str ' years'

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36

Challenge Information:

Build an Employee Profile Generator - Step 12

Hi

Check the spacing in the text you are adding.

You don’t use a comma and a plus sign in concatenation.

You haven’t concatenated the last piece of text properly - look up how to concatenate in Python.

You also have not used the string function correctly. The first paragraph tells you how to do this - you can also look up how to use the str() function in Python.

  • there are few syntax errors, such as use of “str” method on variable, also in string manipulation
  • also you need to print “experience_info”

adjust those issues and try agin, happy coding :slight_smile: