Page 133 - Computer Genius Class 07
P. 133
Textual code
OUTPUT:
(b) User providing his own input.
Example: Asking for name.
Block Code
Textual code
OUTPUT:
Data Types
ery alue needs to e assigned to a specific data type to ma e the aria le more reada le y a
computer.
Python has many data types built-in by default, some of them are:
Data Types Block Based Textual Code Example
Integer -1, -2, 0, 1, 13
Float 0.33, 2.5, 3.9
Boolean True, False
String “Hi Coder!”
Textual Coding 131

