|
Location: South Wales, UK
Joined: Mar 2005
Posts: 18,577
|
|
Location: Warrington UK
Joined: Nov 2006
Posts: 9,931
|
|
Location: South Wales, UK
Joined: Mar 2005
Posts: 18,577
|
1 + 2
(Which would give you the answer of 3)
"Hello student, " + "what is your name?"You can then put things in 'containers' (what we call variables) so the above example could be set like this:
(Which would join up both sentences and output: Hello student, what is your name?)
greeting = "Hello student, "And then called like this:
question = "what is your name?"
greeting + questionWhich would output:
Hello student, what is your name?
|
Location: Towcester UK
Joined: Mar 2005
Posts: 1,477
|
|
Location: Warrington UK
Joined: Nov 2006
Posts: 9,931
|
1 + 2
(Which would give you the answer of 3)
"Hello student, " + "what is your name?"You can then put things in 'containers' (what we call variables) so the above example could be set like this:
(Which would join up both sentences and output: Hello student, what is your name?)
greeting = "Hello student, "And then called like this:
question = "what is your name?"
greeting + questionWhich would output:
Hello student, what is your name?
|
Location: n wales
Joined: Sep 2011
Posts: 53
|
|
Location: Towcester UK
Joined: Mar 2005
Posts: 1,477
|
|
Location: wales
Joined: Sep 2011
Posts: 1
|
|
Location: Towcester UK
Joined: Mar 2005
Posts: 1,477
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|