Guest User

Untitled

a guest
Aug 18th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. import math
  2.  
  3. # num1 = input("insert first number: \n")
  4. # num2 = input("insert second number: \n")
  5. # suma = float(num1) + float(num2)
  6. #
  7. # if suma % 1 == 0:
  8. # print(int(suma))
  9. # else:
  10. # print(float(suma))
  11.  
  12. # kwadrat = int(input("insert number You want square root of: \n"))
  13. # # print(math.sqrt(kwadrat))
  14. # if math.sqrt(kwadrat) % 1 == 0:
  15. # print(int(math.sqrt(kwadrat)))
  16. # else:
  17. # print(float(math.sqrt(kwadrat)))
  18. LISTA = ["raz", "dwa", "trzy", "cztery", "piec"]
  19. print(LISTA)
  20. LISTA_DWA = ["1", "2", "3", "4"]
  21. print(LISTA_DWA)
  22. LISTA.extend(LISTA_DWA)
  23. LISTA.sort(reverse=True)
  24. print(LISTA)
  25. LISTA.copy()
Add Comment
Please, Sign In to add comment