0
String and print
Hey what’s a string and when do u use it? Ask what’s the diff w string and print ya’ll? Please tell me!!!!
4 Antworten
+ 3
A string is a variable type which denotes a "string of characters".
A print statement is usually a function which outputs the value of whatever parameter is provided.
0
hey can u please also solve this question: “Complete this code to create a string containing a double quote” its in the strings chapter
0
Ace has used the escape character (back slash) which allows you to include special characters (e.g. double quotes) and formatting (e.g. a new line - \n) in a string (which is a data type used for variables that can be assigned alphanumeric and special character sequences)