代码拉取完成,页面将自动刷新
cars = 100 #Give the variable "cars" value: 100
space_in_a_car = 4.0 #Give the variable "space_in_a_car" value: 4.0,It is a floating point variable
drivers = 30 #Give the variable "drivers" value: 30
passengers = 90 #Give the variable "passengers" value: 90
cars_not_driven = cars - drivers #Give the variable "cars_not_driven"=cars - drivers
cars_driven = drivers #Give the variable "cars_driven"=drivers
carpool_capacity = cars_driven * space_in_a_car #Give the variable "carpool_capacity"=cars_driven * space_in_a_car
average_passengers_per_car = passengers / cars_driven #Give the variable"average_passengers_per_car" = passengers / cars_driven
print"There are",cars,"cars available."
print"There are only",drivers,"drivers available."
print"There will be",cars_not_driven,"empty cars today."
print"We can transport",carpool_capacity,"people today."
print"We have",passengers,"to carpool today."
print"We need to put about",average_passengers_per_car,"in each car."
i=1
j=2.0
x=i/j
print x
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。