You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lets start, to test it, launch the server python on the VS terminal:
type python there
🔴 DONT
// ✋ DONT start the variables with numbers:0001name="Dave";// you will get an error telling you that "leading zeros in decimal integer are not permitted"// SAME for this1name="Dave";//// ✋ EXCLAMATION isnt allowed eithername!="Dave"// ✋ hyphen / minus isnt allowed eithername-first="Dave"// ✅ use underscoresname_one="Dave"// ✅ use numbers at the end of the variablename001="Dave"
Expression vs Statements
// to test it, launch the server python on the VS terminal: type python// examples of expressions2+2;// result4;//// if you write the below, its also an expression("Expression");// result("Expression");////// type the below, press entermyname="mel";//result:myname;// press enter again("mel");// result// Type quit() to leave
other statement
At the top right of the file you will be working, you have an arrow, once we are done with the code below, unfold the arrow and choose "run python file"
## shift + alt d to dupli## 20 asterisksline01="********************"# remove all of the arterisk from the line02, leave only 2 asterisksline02="* *"# on the line03 , do the same, leave 2 sterisks and count 12345 then write welcome, count 12345 againline03="* WELCOME "print("")
print(line01)
print(line02)
print(line03)
print(line02)
print(line01)