Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # KR - getting started
- """
- your words here
- """
- # 4 data types
- # strings - characters
- # integers - whole numbers eg 3 88 999999
- # floats - real numbers, decimal 5.23 99.457
- # boolean - True or False - 1/ 0 yes/ no
- a_string = "Howdy's doody"
- print(a_string)
- an_integer = 3
- print(an_integer)
- a_float = 5.343
- print(a_float)
- a_boolean = True
- print(a_boolean)
- print(type(an_integer))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement