Tell us what’s happening:
my loop runs infinetly , how to prevent this . i tired every way
Your code so far
first_name = 'John'
last_name = 'Doe'
full_name = first_name + ' ' + last_name
address = '123 Main Street'
address += ', Apartment 4B'
# User Editable Region
employee_age = 28
employee_info = employee_name + " is " + str(employee_age) + " years old."
# 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/148.0.0.0 Safari/537.36
Challenge Information:
Build an Employee Profile Generator - Step 10
GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-employee-profile-generator/695ea1e55c0e619e597fc5c9.md at main · freeCodeCamp/freeCodeCamp · GitHub
Hi
You changed some of the seed code. Reset the step and only add the code asked.
hii
So what should be my code . i tried but its not correct
When I click on step 10, the seed code for line 7 is:
employee_info = full_name + ' is ' + employee_age
Your line 7 is:
employee_info = employee_name + " is " + str(employee_age) + " years old."
You are only asked to work on ‘employee_age’ but you have changed other parts as well so it’s not going to pass. Reset the step and only work on what is asked. We can’t give the solutions.