Python中文
首页
教程
问答
标签
搜索
登录
注册
开放大学(Open Learn)学习数据分析编码
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>因此,我在开放大学注册了一门免费的OpenLearn课程“学习为数据分析编写代码”</p> <p>本课程通过Jupyter练习本教授使用Python的基本编码技术</p> <p>附件是“练习测验”中问题1的图片,可在完成练习后完成,我的答案基于Jupyter练习本中的内容</p> <p>请记住,他们在任何时候都没有表示我们的答案是,测验应该采用我们在练习中所学的任何其他形式</p> 我有一些C++、C、Excel和VBA的经验,所以把2组不同的变量相加,把它们相乘并不是一件很困难的事情。p> <p>我还附上了一张我遇到的错误的图片(似乎是语法错误),但在课程的早期,他们没有解释任何关于语法错误或如何修复语法错误的内容</p> <p>我只是不知道他们希望这个答案怎么写,也不知道他们对我有什么期望</p> <p>有没有人有过类似的经历</p> <p><img src="https://i.stack.imgur.com/ti4fz.png" alt="question + my answer"/> <img src="https://i.stack.imgur.com/4d4CK.png" alt="response / error"/></p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>也许可以试试这个:</p> <pre><code>dataA = 2 dataB = 3 dataC = 4 dataD = 5 answer = (dataA+dataB)*(dataC+dataD) </code></pre> <p>我认为问题在于没有为计算分配变量。(即使python接受它作为正确的语法。您正在使用的程序可能无法看到您已经完成了计算,因为它没有保存)</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
文本导入时标题行中的特殊字符
1 回答
文本小部件:在没有输入时更新并在循环后保持空闲
7 回答
文本小部件tkin
8 回答
文本小部件tkinter中的标签更改或文本外观更改是否有撤消功能?
2 回答
文本小部件tkinter复制图像选项
8 回答
文本小部件上的Python Tkinter ttk滚动条未缩放
1 回答
文本小部件上的滚动条可能需要根据制表符ord显示前进行滚动
3 回答
文本小部件不显示lis中的内容
10 回答
文本小部件不显示Unicode字符
10 回答
文本小部件中写入的行间距
6 回答
文本小部件中的文本作为变量
8 回答
文本小部件中的滚动条仅显示在底部
10 回答
文本小部件中的选项卡键空间计数
5 回答
文本小部件作为Lis
7 回答
文本小部件在主框架中扩展列宽
1 回答
文本小部件未使用删除功能清除
8 回答
文本小部件滚动动画(Tkinter、Python)
9 回答
文本居中。格式正确吗?
8 回答
文本差分算法
5 回答
文本已知时音频文件中的单词索引
8 回答