R Exercise

# no pec # Create a variable a, equal to 5 # Print out a # Create a variable a, equal to 5 a <- 5 # Print out a print(a) test_object("a") test_function("print") success_msg("Great job!")
Use the assignment operator (<-) to create the variable a.

Powered by DataCamp.com

Python Exercise

# no pec # Create a variable a, equal to 5 # Print out a # More comments # More whitespace # More everything # Create a variable a, equal to 5 a = 5 # Print out a print(a) test_object("a") test_function("print") success_msg("Great job!")
Use the assignment operator (=) to create the variable a.

Powered by DataCamp.com