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