Build an Employee Profile Generator - Step 2

Tell us what’s happening:
Describe your issue in detail here.

i cant make the full name variable
. its not working

Your code so far

first_name = 'John'
last_name = 'Doe'
print(first_name)
print(last_name)
full_name=first_name+''+last_name'

Your mobile information:

M2006C3LII - Android 10 - Android SDK 29

Challenge: Build an Employee Profile Generator - Step 2

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hi

I suggest you reset the step and try to do it more following the example code (applying the example to the instructions:

greeting = 'Hello' + 'World'
print(greeting) # Output: HelloWorld

You have also missed the print log.

Here is the explanation why it doesn’t work, only click if you can’t solve it on your own:

You are concatenating the first name, an empty string and the last name. Thus, the full_name variable will be JohnDoe and not John Doe. You should concatenate with a space. So it should read:
solution removed by moderator.
Also, you have an opened quote at the end of your code. This will also raise an error.
And just some advice: I recommend following the PEP 8, which is the official style guide for Python code. It’s not necessary, but your last line has no spaces, which makes it less understandable and look less nice. Just saying.

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

Understood, I shall definitely do so in the future.