小编Gue*_*ero的帖子

将字典中的字符串转换为元组

我有这本字典,我想将这些值转换为具有 3 个整数(日、月、年)的元组。

my_dict = {"date": "1.1.2020"]

我会很高兴得到一些指导。提前致谢!

python dictionary tuples python-3.x

0
推荐指数
1
解决办法
75
查看次数

标签 统计

dictionary ×1

python ×1

python-3.x ×1

tuples ×1