Oktatás * Programozás 2 * Szkriptnyelvek * levelezősök Félévek Linkek * kalendárium |
EnPy3 /
20120815gPI verse The value of PI is stored in the " import math print(math.pi) # 3.141592653589793 Now consider this verse: How I want a drink alcoholic of course After the heavy lectures involving complex functions Taking the length of each word, you will get the first 15 digits of PI. Write a little script that does this. Advanced: use list comprehensions. |
Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |