Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Code Segment One - Data Type - Numbers
- num_result = 24 + 24
- print(num_result)
- # Code Segment Two - Data Type - Strings
- # Change both numbers to strings and run code
- # Change only one number to a string and run code. What happens?
- string_result = str (24) + str (24)
- print(string_result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement