Udemy class day1
By Life Is Wonderful * | 2020년 5월 15일 |
- 내가 정리한 내용 import datetimeprint(datetime.datetime.now()) # module, object, function mynumber = 10mytext = "Hello"# variables print(mynumber, mytext)10 Hello print(type(my text))<class 'str'> a = list(range(1,10))print(a)[1,2,3,4,5,6,7,8,9]a = list(range(1,10,3)print(a)[1,4,7] # Type in terminaldir(list): A function that gives you all the things you can do with a specific type.