![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python练习
Sophia薇
这个作者很懒,什么都没留下…
展开
-
python中数据类型转化
近日,对于数组进行SVD分解,在对于左右奇异矩阵进行切片并相乘的过程中,突然遇到了“ufunc 'multiply' did not contain a loop with signature matching types dtype('S49') dtype('S49') dtype('S49')”的相关问题,经过U,sig和VT的数据类型判别,发现U和VT的数据类型均为<ty...原创 2018-04-26 09:42:52 · 219 阅读 · 0 评论 -
1.python程序基本组成练习
最近开始学习python,而对于一门编程语言的学习最重要的是进行相应的练习,今天将对于最简单的数据输入与输出问题进行演练,以下所有的代码训练均基于python2.7进行。print 'hello'print 'hello'+'word'print 'hello','word'print """he said "hello" to me"""结果输出:hellohelloword...原创 2018-04-26 09:41:51 · 293 阅读 · 0 评论