print, Print output to screen, else, Executes if the conditional expression in the if statement resolves to false, IF statement, Tests a condition and executes code based on the result, variable, A box that stores data until it is needed, #, This symbol is used to comment on code. , input(), This gets user input, count = 0, An example of a named variable called count, String, can have letters numbers and symbols, integer, whole number, real, decimal number, arithmetic operator, enables you to do sums (e.g plus, times ), >, greater than, ==, equal to, =, assign a variable, !=, not equal to, <=, less than or equal to, num = 5, variable storing an integer, name = "Sophie", variable storing a string, avg_score = 56.6, variable storing a real number, relational operator, enables you to compare two pieces of data.
0%
Python concepts (2)
Share
Share
Share
by
Buscomp
Secondary
Computing
Programming Fundamentals
Programming Techniques
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Balloon pop
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
More formats will appear as you play the activity.
Open results
Copy link
QR code
Delete
Continue editing:
?