New pages
Jump to navigation
Jump to search
14 July 2026
- 12:1812:18, 14 July 2026 Do While (hist | edit) [165 bytes] Pavel (talk | contribs) (Created page with "<pre> # Do While key = '' while key != 'q': print('Вы нажали клавишу ' + key) key = input('Нажмите q чтобы выйти: ') </pre>")
- 12:0212:02, 14 July 2026 Divide by 3 (hist | edit) [970 bytes] Pavel (talk | contribs) (Created page with "<pre> # Divide by 3 num = 100 for i in range (1, num) : if i % 3 == 0 : print (i) </pre>")
- 11:4811:48, 14 July 2026 Calculator (hist | edit) [892 bytes] Pavel (talk | contribs) (Created page with "<pre> while True: num1 = float(input("Введите первое число: ")) op = input("Введите операцию (+, -, *, /): ") num2 = float(input(...")
- 11:4411:44, 14 July 2026 Odd or Even (hist | edit) [524 bytes] Pavel (talk | contribs) (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...")
- 11:3211:32, 14 July 2026 More Less (hist | edit) [614 bytes] Pavel (talk | contribs) (Created page with "#More or Less than 100 # Сохраняем в строковой переменной введенное пользователем слово text = input('Введите...")
- 11:0311:03, 14 July 2026 Pension (hist | edit) [1,723 bytes] Pavel (talk | contribs) (Created page with "<pre> # Age # Количество лет для выхода на пенсию limit = 65 # Сохраняем в строковой переменной введенное...")
- 10:4510:45, 14 July 2026 Guess Number (hist | edit) [1,354 bytes] Pavel (talk | contribs) (Created page with "<pre> # Guess Number import random # Компьютер придумывает число от 1 до 100 compnumber = random.randint(0,100) print(compnumber) attempt = 20 p...")
- 10:0410:04, 14 July 2026 Solve Quadratic Equation (hist | edit) [1,242 bytes] Pavel (talk | contribs) (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 ≠ 0 #the di...")
- 10:0310:03, 14 July 2026 Calculate the Area of a Triangle (hist | edit) [511 bytes] Pavel (talk | contribs) (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...")
- 10:0110:01, 14 July 2026 Find the Square Root (hist | edit) [283 bytes] Pavel (talk | contribs) (Created page with "<pre> num1 = input ('Sisestage arv: ') num2 = float (num1) num_sqrt = num2 ** 0.5 #print ('Ruutjuur {0} on võrnde {1}'.format(num1, num_sqrt)) print ('Ruutjuur {0}-st on v...")
- 09:5809:58, 14 July 2026 Add Two Numbers (hist | edit) [771 bytes] Pavel (talk | contribs) (Created page with "<pre> num1 = input ('Sisestage esimene arv: ') num2 = input ('Sisestage teine arv: ') sum = float(num1) + float(num2) print ("Summa " + num1 + " ja " + num2 + " on võrdne",...")
- 09:5409:54, 14 July 2026 Примеры Python (hist | edit) [311 bytes] Pavel (talk | contribs) (Created page with "Add Two Numbers Find the Square Root Calculate the Area of a Triangle Solve Quadratic Equation")