Variable = brian help


#1


stuck on strings and outputs 1, i do as it ask about naming the variable brain and it keeps saying error, fyin i am new to coding


Replace this line with your code.


#2

Hey there @olisyke!

There are a lot of people here, that would be glad to help you out.
But, at the same time, you need to provide us with the link to the exercise and the code you tried using. This will help us in answering your question.

Thanks :slight_smile:


#3

I'm also experiencing this issue.
Here is the link:

https://www.codecademy.com/courses/python-beginner-sRXwR/0/1?curriculum_id=4f89dab3d788890003000096#

I thought it should simply be:

brain = "Hello life!"

However it is throwing errors.
Please help!


#4

Oops, nvm.
The variable must be "brian," not "brain."
(note the spelling)


#5

Hello, Olisyke.

I figured assigning the brian variable to the name and then assigning the "Hello life" to brian will give your the right answer.

name = "brian"
brian = "Hello life!"


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.