The variables' values can be assigned using the leftward, rightward, and equal operators. The variables' values can be printed using the print() or cat() functions. The cat() method concatenates many elements into a single print output.