Advertisement
JkSoftware

Day 2 - Data Types

Nov 4th, 2021
793
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Data Types
  2.  
  3. print("Hello"[3])#Subscript
  4.  
  5. print("123" + "456")
  6.  
  7. #Integer
  8.  
  9. print(123 + 456)
  10.  
  11. #Float
  12.  
  13. print(3.14159265359)
  14.  
  15. #Boolean
  16.  
  17. print("true")
  18. print("false")
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement