python - 我有一个“错误令牌”错误,谁能告诉我为什么?(代码)
问题描述
Ideal= int(input("What grade do you want on your next assignment?"))
Current= int(input("What is your current grade in the class?"))
weight = int (input("What is the weight of the assignment (how much of your grade is it worth)?"))
print Ideal
print Current
print weight
Final_grade = Ideal − (( 1 − weight ) * Current)* weight
print "You will need to get a" , Final_grade , "on your next assignment to recieve a" , Current , "in this class"
解决方案
推荐阅读
- c# - How to I get the username of the currently logged in user in ASP.NET Core 2, not Application Pool details
- php - 从地理编码地图 API 获取区域
- sorting - 如何在 kotlin 中使用 sortedWith()?
- amazon-web-services - 无法使用 python 3.4 安装 gensim
- ios - 如何使用 XCUITest UI 自动化验证 iOS 本机应用程序中 UIWebView 中加载的 PDF 上的元素?
- bison - 某些版本的 Yacc 在规则和操作之间使用“=”吗?
- c# - 尝试在具有数据库连接的 Windows Home 上运行 IIS 而不是 IIS Express
- vue.js - 为什么 vuejs 中的自定义分隔符不起作用?
- python - 页面上的广告导致抓取问题“Bad Gateway”
- sql - INSERT INTO 选择不同的空 PostgreSQL