Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- # num1 = input("insert first number: \n")
- # num2 = input("insert second number: \n")
- # suma = float(num1) + float(num2)
- #
- # if suma % 1 == 0:
- # print(int(suma))
- # else:
- # print(float(suma))
- # kwadrat = int(input("insert number You want square root of: \n"))
- # # print(math.sqrt(kwadrat))
- # if math.sqrt(kwadrat) % 1 == 0:
- # print(int(math.sqrt(kwadrat)))
- # else:
- # print(float(math.sqrt(kwadrat)))
- LISTA = ["raz", "dwa", "trzy", "cztery", "piec"]
- print(LISTA)
- LISTA_DWA = ["1", "2", "3", "4"]
- print(LISTA_DWA)
- LISTA.extend(LISTA_DWA)
- LISTA.sort(reverse=True)
- print(LISTA)
- LISTA.copy()
Add Comment
Please, Sign In to add comment