Hey,guys !Help me ,please,who can. Why does not the Visual Code run my code?
Please share code instead of screenshots.
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>
) will also add backticks around text.
Note: Backticks are not single quotes.
first_name="Julie"
last_name="vilaneava"
def fixed_account(new_account,temp_account):
new_account=last_name[:5]
temp_account=last_name[2:6]
fixed_account=new_account+temp_account
return fixed
fixed=fixed_account(first_name,last_name)
print(fixed)
You didn’t included function call statement
2 Likes