Python

0.0(0)
studied byStudied by 39 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

29 Terms

1
New cards

String

is a sequence of characters (letters numbers and symbols)

2
New cards

Boolean

A data type that either has a vibrable of true and false

3
New cards

program

a collection of commands

4
New cards

Loop

repeats the code

5
New cards

command

is an instruction to a computer to perform a specific task

6
New cards

Debug

the process of finding and fixing issues in a program. they can be either logic or syntax issues

7
New cards

Operator

specific symbols that carry out mathematical,or logical statements. Eg. and,or, + (plus),- (minis),> (greater than)

8
New cards

Vibrable

is a way of storing and keeping track of data. A list is a variable containing multiple other variables.

9
New cards

Integer

is a whole number not a fraction that can be positive negative or zero

10
New cards

Conditional Statement

is a piece of code that contains an “if” or “if/else”

11
New cards

setTextColour(RED)

Text color

12
New cards

setHighlightColour(RED)

Highlight Color

13
New cards

setTextSize(35)

TEXT SIZE

14
New cards

clear(GREEN)

will make the whose console turn green and any remaining lines of code to be executed on that green background

15
New cards

sum = 3 + 5

Integer

16
New cards

sum = 3 * 5

* is times

17
New cards

if choice ==(“play “):

conditional statement

18
New cards

label and goto

Loop

19
New cards

elif choice ==(“eat“)

conditional statement

20
New cards

cat= “(=^0.0^=)’’

variable

21
New cards

else:

Conditional Statement

22
New cards

print (“Hello “)

print command

23
New cards

input(“Press [ENTER] to continue“)

input command

24
New cards

else:

Conditional Statement

25
New cards

#comment

comment

26
New cards

“hello”

String

27
New cards

105

Interger

28
New cards

name=”Jane ”

string variable

29
New cards

name= input (“what is your first name?”)

Variable and command