0

What’s the difference between using a string and a print?

I’m curious as to what the difference is in terms of how it will look on the console when you run it.

23rd Jan 2019, 9:18 AM
Charlotte Levin
1 Answer
+ 4
They are completely 2 things. String is a data type which is a collection/array of characters . Print is a function/method which used to print strings, numbers, booleans or any object.
23rd Jan 2019, 12:55 PM
Seniru
Seniru - avatar