variables Flashcards

1
Q

first step to creating variable

A

var

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

variable names needs to be

A

single word

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

start with

A

letter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

value is after

A

=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

make a variable that stores a day and prints it

A
var day="friday"
print(day)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

values need to be

A

same type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly