Complete the code to store the number 10 in a variable named score.
score = [1]The variable score is assigned the number 10 without quotes because numbers are stored as numeric values, not strings.
Complete the code to store the text 'hello' in a variable named greeting.
greeting = [1]Text values (strings) must be enclosed in quotes. Here, double quotes are used around hello.
Fix the error in the code to correctly store the value 5 in variable count.
count = [1]The value 5 should be stored as a number without quotes. Using quotes makes it a string, and using words like 'five' is invalid.
Fill both blanks to create a variable age and assign it the value 30.
[1] = [2]
The variable name age should be on the left side without quotes or spaces, and the number 30 on the right side as a numeric value.
Fill all three blanks to create a variable name and assign it the text 'Alice'.
[1] = [2] + [3]
The variable name is assigned by joining two strings: "A" and "lice". This shows how text can be combined to form 'Alice'.