Intergers are either positive or negative numbers, they must be a whole number.
For Example : 1,3,9,5,3,1,2,4,2,1,6,9
Real/float point numbers: are decimal numbers,they are very accurate but are quite slow.
they are used for making exact measurements.
Data/Time : are used to store dates and times
for example in Europe 1.5.14 is the first of may 2014 but in america is is the 5th of January 2014.
Strings strings are a line of characters.They could contain special characters and letters.
strings in python are represented by a ("").
(Source: http://answers.yahoo.com/question/index?qid=20110711103410AADTHOY)
Booleans: Booleans in python are yes or no, true or fault scripts other examples of booleans are OR, AND ,NOT.
My python boolean test script:
data type used : Equal to.
No comments:
Post a Comment