Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) * Scripting Languages Félévek * aktuális (2023/24/2) 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 ] |