Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) * Scripting Languages Félévek * aktuális (2023/24/2) Linkek * kalendárium |
EnPy /
20120815gPI verse The value of PI is stored in the " import math print math.pi # 3.14159265359 (The last digit is rounded.) 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 ] |