Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. #M1/31
  2. '''
  3. from math import sqrt, pi
  4. S = float(input())
  5. D = sqrt(S * 4 / pi)
  6. L = pi * D
  7. print(D)
  8. print(L)
  9. '''
  10. #M1/32
  11. '''
  12. k = 0
  13. a = int(input())
  14. while a != 0:
  15. k += 1
  16. a = int(input())
  17. print(k)
  18. '''
  19. #M1/33
  20. '''
  21. A = int(input())
  22. B = int(input())
  23. if A != B:
  24. A, B = A + B, A * B
  25. else:
  26. A, B = 0, 0
  27. print(A)
  28. print(B)
  29. '''
  30. #M1/34
  31. '''
  32. Wizard_list = ["паучьи лапки",
  33. "жабий палец",
  34. "язык улитки",
  35. "крыло летучей мыши",
  36. "жир слизня",
  37. "медвежий коготь"]
  38. i = 0
  39. while i < len(Wizard_list):
  40. print(Wizard_list[i])
  41. i += 1
  42. '''
  43.  
  44. #M1/35
  45. '''
  46. k = int(input())
  47. n = int(input())
  48. for i in range(n):
  49. print(k)
  50. '''
  51.  
  52. #M1/36
  53. '''
  54. s = []
  55. for i in range(10):
  56. s.append(float(input()))
  57. ts = 0
  58. i = 0
  59. while i < 10:
  60. ts += s[i]
  61. i += 1
  62. print(ts / 10)
  63. '''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement