【#国际残疾人日#:他们身残志坚 彰显生命“残缺美”】每年12月3日是“国际残疾人日”,旨在促进人们对残疾问题的理解和动员人们支持维护残疾人的尊严、权利和幸福。那些身体残疾却有着坚强意志的残疾人,在凛冽的生命里绽放出最美的自己。残缺无法阻挡梦想,让我们为勇敢的他们鼓掌、喝彩。Le 3 décembre marque la Journée internationale des personnes handicapées, une journée qui vise à promouvoir la compréhension envers les personnes handicapées et à sensibiliser les gens sur le respect de la dignité, des droits et du bonheur des personnes handicapées. L'incomplétude ne peut arrêter leurs rêves. Applaudissons les courageux!#TopCGTN#
20211125感恩节!学会珍惜。昨天特意了解emo这个词的含义,其实就是郁闷吧也许实际上没有那么多郁闷的事,吃过的苦不多,也就不太能体会到甜。总觉得自己一路坎坷,所以很容易感到开心和幸福。明明到了中年,同辈压力极大自己却没有那么逼迫自己,每天没心没肺地过着。
期待明天早上的微博新闻,因为可以看见世乒赛的比赛结果。钱陈似锦、海产姐妹花加油!
import time
# 获得当前时间时间戳
now = int(time.time())
#转换为其他日期格式,如:"%Y-%m-%d %H:%M:%S"
timeArray = time.localtime(now)
otherStyleTime = time.strftime("%Y-%m-%d %H:%M:%S", timeArray)
print(otherStyleTime)
import datetime
# 获得当前时间
now = datetime.datetime.now()
# 转换为指定的格式
otherStyleTime = now.strftime("%Y-%m-%d %H:%M:%S")
print(otherStyleTime)
import time
timeStamp = 1557502800
timeArray = time.localtime(timeStamp)
otherStyleTime = time.strftime("%Y-%m-%d %H:%M:%S", timeArray)
print(otherStyleTime)
import datetime
timeStamp = 1557502800
dateArray = datetime.datetime.utcfromtimestamp(timeStamp)
otherStyleTime = dateArray.strftime("%Y-%m-%d %H:%M:%S")
print(otherStyleTime)
# 返回 x 在 arr 中的索引,如果不存在返回 -1
def binarySearch (arr, l, r, x):
# 基本判断
if r >= l:
mid = int(l + (r - l)/2)
# 元素整好的中间位置
if arr[mid] == x:
return mid
# 元素小于中间位置的元素,只需要再比较左边的元素
elif arr[mid] > x:
return binarySearch(arr, l, mid-1, x)
# 元素大于中间位置的元素,只需要再比较右边的元素
else:
return binarySearch(arr, mid+1, r, x)
else:
# 不存在
return -1
# 测试数组
arr = [ 2, 3, 4, 10, 40 ]
x = 10
# 函数调用
result = binarySearch(arr, 0, len(arr)-1, x)
if result != -1:
print ("元素在数组中的索引为 %d" % result )
else:
print ("元素不在数组中")
期待明天早上的微博新闻,因为可以看见世乒赛的比赛结果。钱陈似锦、海产姐妹花加油!
import time
# 获得当前时间时间戳
now = int(time.time())
#转换为其他日期格式,如:"%Y-%m-%d %H:%M:%S"
timeArray = time.localtime(now)
otherStyleTime = time.strftime("%Y-%m-%d %H:%M:%S", timeArray)
print(otherStyleTime)
import datetime
# 获得当前时间
now = datetime.datetime.now()
# 转换为指定的格式
otherStyleTime = now.strftime("%Y-%m-%d %H:%M:%S")
print(otherStyleTime)
import time
timeStamp = 1557502800
timeArray = time.localtime(timeStamp)
otherStyleTime = time.strftime("%Y-%m-%d %H:%M:%S", timeArray)
print(otherStyleTime)
import datetime
timeStamp = 1557502800
dateArray = datetime.datetime.utcfromtimestamp(timeStamp)
otherStyleTime = dateArray.strftime("%Y-%m-%d %H:%M:%S")
print(otherStyleTime)
# 返回 x 在 arr 中的索引,如果不存在返回 -1
def binarySearch (arr, l, r, x):
# 基本判断
if r >= l:
mid = int(l + (r - l)/2)
# 元素整好的中间位置
if arr[mid] == x:
return mid
# 元素小于中间位置的元素,只需要再比较左边的元素
elif arr[mid] > x:
return binarySearch(arr, l, mid-1, x)
# 元素大于中间位置的元素,只需要再比较右边的元素
else:
return binarySearch(arr, mid+1, r, x)
else:
# 不存在
return -1
# 测试数组
arr = [ 2, 3, 4, 10, 40 ]
x = 10
# 函数调用
result = binarySearch(arr, 0, len(arr)-1, x)
if result != -1:
print ("元素在数组中的索引为 %d" % result )
else:
print ("元素不在数组中")
至少 27 名偷渡者海难死在了拉芒什海峡。冬天坐着从迪卡侬购买了皮划艇,穿越海峡真的很危险。为什么这些偷渡者不留在法国呢,还是要前往英国?
Naufrage dans la Manche : au moins 27 migrants sont morts au large de Calais, quatre personnes suspectées d'être les passeurs arrêtées
"La France ne laissera pas la Manche devenir un cimetière", a affirmé mercredi soir le chef de l'Etat, Emmanuel Macron, alors qu'une réunion d'urgence interministérielle se tiendra jeudi matin autour du Premier ministre. https://t.cn/Evk4evd
Naufrage dans la Manche : au moins 27 migrants sont morts au large de Calais, quatre personnes suspectées d'être les passeurs arrêtées
"La France ne laissera pas la Manche devenir un cimetière", a affirmé mercredi soir le chef de l'Etat, Emmanuel Macron, alors qu'une réunion d'urgence interministérielle se tiendra jeudi matin autour du Premier ministre. https://t.cn/Evk4evd
✋热门推荐