{"batchcomplete":"","continue":{"lecontinue":"20260714095829|1581","continue":"-||"},"query":{"logevents":[{"logid":1591,"ns":0,"title":"Do While","pageid":795,"logpage":795,"revid":2192,"params":{},"type":"create","action":"create","user":"Pavel","timestamp":"2026-07-14T12:18:33Z","comment":"Created page with \"<pre> # Do While  key = ''  while key != 'q':     print('\u0412\u044b \u043d\u0430\u0436\u0430\u043b\u0438 \u043a\u043b\u0430\u0432\u0438\u0448\u0443 ' + key)     key = input('\u041d\u0430\u0436\u043c\u0438\u0442\u0435 q \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0439\u0442\u0438: ')  </pre>\""},{"logid":1590,"ns":0,"title":"Divide by 3","pageid":794,"logpage":794,"revid":2189,"params":{},"type":"create","action":"create","user":"Pavel","timestamp":"2026-07-14T12:02:09Z","comment":"Created page with \"<pre>  # Divide by 3  num = 100  for i in range (1, num) :     if i % 3 == 0 :         print (i)           </pre>\""},{"logid":1589,"ns":0,"title":"Calculator","pageid":793,"logpage":793,"revid":2187,"params":{},"type":"create","action":"create","user":"Pavel","timestamp":"2026-07-14T11:48:45Z","comment":"Created page with \"<pre>  while True:     num1 = float(input(\"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0435\u0440\u0432\u043e\u0435 \u0447\u0438\u0441\u043b\u043e: \"))     op = input(\"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e (+, -, *, /): \")     num2 = float(input(...\""},{"logid":1588,"ns":0,"title":"Odd or Even","pageid":792,"logpage":792,"revid":2185,"params":{},"type":"create","action":"create","user":"Pavel","timestamp":"2026-07-14T11:44:14Z","comment":"Created page with \"<pre> # Odd or Even  # Python program to check if the input number is odd or even. # A number is even if division by 2 gives a remainder of 0. # If the remainder is 1, it is a...\""},{"logid":1587,"ns":0,"title":"More Less","pageid":791,"logpage":791,"revid":2176,"params":{},"type":"create","action":"create","user":"Pavel","timestamp":"2026-07-14T11:32:44Z","comment":"Created page with \"#More or Less than 100  # \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u0441\u043b\u043e\u0432\u043e text = input('\u0412\u0432\u0435\u0434\u0438\u0442\u0435...\""},{"logid":1586,"ns":0,"title":"Pension","pageid":790,"logpage":790,"revid":2172,"params":{},"type":"create","action":"create","user":"Pavel","timestamp":"2026-07-14T11:03:37Z","comment":"Created page with \"<pre> # Age # \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u0435\u0442 \u0434\u043b\u044f \u0432\u044b\u0445\u043e\u0434\u0430 \u043d\u0430 \u043f\u0435\u043d\u0441\u0438\u044e limit = 65   # \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0435...\""},{"logid":1585,"ns":0,"title":"Guess Number","pageid":789,"logpage":789,"revid":2168,"params":{},"type":"create","action":"create","user":"Pavel","timestamp":"2026-07-14T10:45:11Z","comment":"Created page with \"<pre> # Guess Number  import random  # \u041a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u0435\u0442 \u0447\u0438\u0441\u043b\u043e \u043e\u0442 1 \u0434\u043e 100 compnumber = random.randint(0,100) print(compnumber) attempt = 20 p...\""},{"logid":1584,"ns":0,"title":"Solve Quadratic Equation","pageid":788,"logpage":788,"revid":2165,"params":{},"type":"create","action":"create","user":"Pavel","timestamp":"2026-07-14T10:04:51Z","comment":"Created page with \"<pre>  # Solve the quadratic equation ax**2 + bx + c = 0  # import complex math module import math  #ax2 + bx + c = 0, where #a, b and c are real numbers and #a \u2260 0  #the di...\""},{"logid":1583,"ns":0,"title":"Calculate the Area of a Triangle","pageid":787,"logpage":787,"revid":2163,"params":{},"type":"create","action":"create","user":"Pavel","timestamp":"2026-07-14T10:03:11Z","comment":"Created page with \"<pre>  Python Program to find the area of triangle  a = 5 b = 6 c = 7  # Uncomment below to take inputs from the user # a = float(input('Enter first side: ')) # b = float(inpu...\""},{"logid":1582,"ns":0,"title":"Find the Square Root","pageid":786,"logpage":786,"revid":2162,"params":{},"type":"create","action":"create","user":"Pavel","timestamp":"2026-07-14T10:01:56Z","comment":"Created page with \"<pre> num1 = input ('Sisestage arv: ') num2 = float (num1)  num_sqrt = num2 ** 0.5  #print ('Ruutjuur {0} on v\u00f5rnde {1}'.format(num1, num_sqrt)) print ('Ruutjuur {0}-st on v...\""}]}}