coding Flashcards

1
Q

how to output

A

print(“insert text here”)

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

how to have user input (integer)

A

int(input(“insert question”))

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

how to leave comments

A

”#” insert comments

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

less than

A

<

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

more than

A

>

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

less then/same as

A

<=

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

more than/same as

A

> =

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

not

A

!=

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

multiply

A

*

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

turtle fill colour

A

t.fillcolor(“insert colour”)

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

turtle forward

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

turtle left

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

turtle right

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

turtle backwards

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