Python: Addition, Subtraction, Deletion and more

[datacamp_exercise lang=”python”] [datacamp_sample_code]

# Create a variable a, equal to 5

# Print out a

[/datacamp_sample_code] [datacamp_pre_exercise_code] # This will get executed each time the exercise gets initialised
b = 6
[/datacamp_pre_exercise_code] [datacamp_solution] # Create a variable a, equal to 5
a = 5

# Print out a
print(a)

[/datacamp_solution] [datacamp_sct] test_object(“a”)
test_function(“print”)
success_msg(“Great job!”)
[/datacamp_sct] [datacamp_hint] Use the assignment operator (<-) to create the variable a.
[/datacamp_hint] [/datacamp_exercise]