diff --git "a/\354\260\275\354\206\214\354\236\2052.txt" "b/\354\260\275\354\206\214\354\236\2052.txt" new file mode 100644 index 0000000000000000000000000000000000000000..8cf5c06c72fcaab42e1ec5d1fa796365b9829fa9 --- /dev/null +++ "b/\354\260\275\354\206\214\354\236\2052.txt" @@ -0,0 +1,87 @@ +���� ��¥ ���ڷ� �ٲ��� �� 1���� ���� +1900�� 2���� 28�ϱ����ۿ� ����. + +Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 +Type "copyright", "credits" or "license()" for more information. +>>> 2018-1900 +118 +>>> 118*365 +43070 +>>> 118 // 4 +29 +>>> 43070 + 29 +43099 +>>> 43099 + 31+ 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 +31+6 +43409 +>>> 118 // 100 +1 +>>> 400�⸶�� ����.. (2000��) + +16������ 8������ 2������ �ٲٴ¹�(�⸻) +16������ 4���� ����ߵ� + +Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 +Type "copyright", "credits" or "license()" for more information. +>>> 118 % 100 +18 +>>> 118.4 % 100.6 +17.80000000000001 +>>> 118.4 // 100.6 +1.0 +>>> 118.4 - 100.6 +17.80000000000001 +>>> hex(2000) +'0x7d0' +>>> hex(3) +'0x3' +>>> oct(2000) +'0o3720' +>>> bin(2000) +'0b11111010000' +>>> 118.4 / 100.6 +1.1769383697813123 +>>> a = 255 +>>> hex(a) +'0xff' +>>> // ����ǥ �� ����� (���ڿ�) +SyntaxError: invalid syntax +>>> b=hex(a) +>>> type(b) +<class 'str'> +>>> a +255 +>>> b +'0xff' +>>> hex = 400 +>>> hex +400 +>>> hex(400) +Traceback (most recent call last): + File "<pyshell#18>", line 1, in <module> + hex(400) +TypeError: 'int' object is not callable +>>> 2**100 +1267650600228229401496703205376 +>>> 2//7 +0 +>>> 22/7 +3.142857142857143 +>>> import math +>>> math.pi +3.141592653589793 +>>> math.sin(math.pi) +1.2246467991473532e-16 +>>> =0 +SyntaxError: invalid syntax +>>> round(192384,-2) +192400 +>>> a = 192384 +>>> (a//100) * 100 +192300 +>>> (a + 99) // 100 * 100 +192400 +>>> a + 50) // 100 * 100 +SyntaxError: invalid syntax +>>> (a+50) // 100 * 100 +192400 +>>> \ No newline at end of file