A strange phenomenon! What is this number 8! We are in the 2.7
version of Python.
**MY CODE
**
x = raw_input("write a list! utilisation of raw_input ")
y = input("write a list! utilisation of input ")
print x, "resultat of rawinputation"
print y, "resultat of inputation"
**My input and the Terminal
**
write a list! utilisation of raw_input [x * 3 for x in range(2, 10, 2)]
write a list! utilisation of input [x * 3 for x in range(2, 10, 2)]
8 resultat of rawinputation
[6, 12, 18, 24] resultat of inputation
**The lesson:
**
a) an important discover
- with input python make return the result of the list comprehention
b) an astonishment:
- with raw_input python return 8.
A QUESTION:
What is this 8?