-
Notifications
You must be signed in to change notification settings - Fork 0
/
1011.py
47 lines (42 loc) · 1.05 KB
/
1011.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
###import module
###from module import abstract
##import sys
####print(sys.path)
import os
####print(os.environ)
os.chdir('E:\\pythonSep2018')
##from module_1011 import some_func
##from module_1011 import cube
##cube(3)
##some_func()
##print(os.getcwd())
##
##sys.path.append('E:\\pythonSep2018')
##print(open("filename.txt", "w"))
##import importlib
####importlib.reload()
##import module_1011
##print(module_1011.product(module_1011.my_list))
import string
##a = string.parse('abc')
##print(a)
str = "Hello, +my_name []/is khlade"
##def count_name():
## counter = 0
## for i in str:
## if (string.ascii_letters.find(i) is not -1):
## counter = counter + 1
## return counter
##print(count_name())
##def strip_string():
## new_str = ''
## for i in str:
## if (string.ascii_letters.find(i)is not -1):
## print(i)
## new_str = new_str + i
## return new_str
##
##print(strip_string())
import math
result = math.ceil(math.log(math.e ** (math.pi/2)))
print(result)