Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 540 Bytes

File metadata and controls

11 lines (11 loc) · 540 Bytes
  1. operators: *, -, /, + \ values: 'hello', '-88.8', 5\
  2. variable-spam, string - 'spam' \
  3. String, int, bool
  4. Expressions consist of values and operators and they always evaluate to a single value
  5. a statement states a line of code. Expression is a part of statement. Statement doesn't return anything
  6. 20
  7. spamspamspam , spamspamspam
  8. eggs doesn't start with a number, nor has whitespace or hyphens or special characters, while 100 starts with a number.
  9. int(), float(), str()
  10. int and string cannot be concatenated.