- 博客(6)
- 收藏
- 关注
原创 数据结构与算法
Day 1: Hanoi problemHistory BackgroundAccording to the history of India culture, about thousands of years ago, in the process of Brahma creating the world, he set 3 columns which called 'A', 'B' and 'C'. In addition to these columns, there existed 64
2022-05-25 17:59:46 86
原创 Everyday Python Programming——2022.2.27
1. Some different ways to delete elements from a string:First, we can use 'strip()':'''Actually, we can use 'strip()' which means delete ' ' from two sides of the code to the middle'''>>> s = ' bee'>>> s.strip()'bee'>>&
2022-02-27 22:21:13 399
原创 Everyday Python Programming——2022.2.22
1.A list can not be changed to string by ''str()'' ,but its elements.>>> a= str([1,2])>>> a[0]'['2. In python, we can change a octal number to hexadecimal by function ''int''int(A,'base:'8) #it means the A is described in
2022-02-22 23:30:08 435
原创 Everyday Python Programming ——2022.2.21
1. If we want to split a whole string which is inputed into a number of single elements, we can just to do like this :s = list(input())if we try to input this code, our consequence will be :>>> at = list (input())1459525>>> at[
2022-02-21 20:55:52 149
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人