Variable name


#1



Replace this line with your code.


#2

Do you need any help?

then please ask your question :slight_smile:


#3

hello, please am receiving error code message
what am i doing wrong?
i want to create a variable and assign it a code
thanks


#4

why don't you create your own topic ?you'll get faster response( most of the time ) :slight_smile: .

read this article it'll help you to make a good topic :slight_smile:

To create a variable so easy in python

just write name of the variable and assing to it a value

for example:

x=5

here x is the name the variable and 5(number) is a value.

more example:

s="bob"

here bob is a string value so you need " " and s is a name of the variable as you know :slight_smile:


#5

In the above example, we create a variable cats and assign it the value of 3.

Instructions

  1. Create a variable called spam and assign it the value of True.
  2. Create a variable called eggs and assign it the value of False.

Please help me with that... I don't know how to put that.

Hint

Remember, you assign values with the = sign, like so:
example_variable = True


#6

Just scroll down the left side window, you will see instructions what to do.


#7

hey i am new in code academy i am 20 mints old so i am getting confused on where to start


#8

what do you want to know?
this article will help you to make a good topic

Also see the codecademy courses here

https://www.codecademy.com/learn/all


#9

okay thank you but i really dont knw what to do
when i go to that link u gave me


#10

what do you want to know?


#11

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