Fall 2024 - P1
Big Idea 3 | .1 | .2 | .3 | .4 | .5 | .6 | .7 | .8 | .10 |
3.1 Variables and Strings
Team Teach String Operations
- What is a String?
- Defining a String
____________________________________________________________________________________________________________________________________________
What is a String?
Defining a String
# define your strings
greeting = "hello brawler"
usrname = "magic05"
# print strings
print(greeting)
print(usrname)
hello brawler
magic05
%%js
// define your strings
let greeting = "hello brawler";
let usrname = "magic05";
// log strings in console
console.log(greeting);
console.log(usrname);
<IPython.core.display.Javascript object>