欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

Python-1-Day

系統(tǒng) 1730 0

Python-1-Day_第1張圖片

?

C = float(input("Enter a degree in Celsius:"))
F = (9/5) * C + 32
print("{0} Celsius is {1} Fahrenheit".format(C,F))

                  Enter a degree in Celsius:43
43.0 Celsius is 109.4 Fahrenheit
                
Python-1-Day_第2張圖片

import math
R,H = eval(input("Enter the radius and length of a cylinder: "))
area = R * R * math.pi
volume = area * H
print('The area is {0}'.format("%.4f"%area))
print('The volume is {0}'.format("%.1f"%volume))

                  Enter the radius and length of a cylinder:5.5,12
The area is 95.0332
The volume is 1140.4
                
Python-1-Day_第3張圖片

feet = float(input("Enter a value for feet: "))
meters = feet * 0.305
print('{0} feet is {1} meters'.format(feet,meters) )

                  Enter a value for feet:16.5
16.5 feet is 5.0325 meters
                
Python-1-Day_第4張圖片

?

water = float(input("Enter a value for feet: "))
initial = float(input("Enter the initial temperature: "))
final = float(input("Enter the final temperature: "))
energy = water * (final - initial) * 4184
print('The energy needed is {0}'.format(energy))

                  Enter a value for feet: 55.5
Enter the initial temperature: 3.5
Enter the final temperature: 10.5
The energy needed is 1625484.0
                
Python-1-Day_第5張圖片

balance,interestrate = eval(input("Enter balance and interest rate (e.g., 3 for 3 %):"))
interest = balance * (interestrate/1200)
print('The interest is {0}'.format("%.5f"%interest))

                  Enter balance and interest rate (e.g., 3 for 3 %):1000,3.5
The interest is 2.91667
                
                
                  Python-1-Day_第6張圖片
                
                

v0,v1,t = eval(input("Enter v0,v1,and t:"))
a=(v1-v0)/t
print('The averager acceletion {0}'.format("%.4f"%a))

                  Enter v0,v1,and t:5.5,50.9,4.5
The averager acceletion 10.0889
                
Python-1-Day_第7張圖片

from _pydecimal import Decimal
amount = Decimal(input("Enter the monthly saving amount : "))
amount1 = Decimal(0)
for i in range(6):
amount1 = (amount+amount1) * Decimal(1 +0.00417)
print('After the sixth month,the account value is {0}'.format("%.2f"%amount1))

                  Enter the monthly saving amount : 100
After the sixth month,the account value is 608.82
                

number = float(input("Enter a number between 0 and 1000 : "))
ge = int(number % 10)
shi = int(number // 10 % 10)
qian = int(number // 100)
digits = ge + shi + qian
print('The sum of the digits is {0}'.format(digits))

                  Enter a number between 0 and 1000 : 999
The sum of the digits is 27
                
                
              

更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長(zhǎng)非常感激您!手機(jī)微信長(zhǎng)按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對(duì)您有幫助就好】

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長(zhǎng)會(huì)非常 感謝您的哦!!!

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 天天做天天添婷婷我也去 | 九色网址 | 性夜影院爽黄e爽痛轻点www | 欧美性色生活片免费播放 | 天天操欧美 | 91毛片网站 | 亚洲天堂中文字幕 | 免费观看毛片 | av网站在线免费观看 | 久久国产乱子免费精品 | 91视频官网| 中文精品视频 | 成人国产精品色哟哟 | 日本伊人色综合网站 | 啪啪啪毛片 | 日本九九视频 | 久久99精品久久久久久臀蜜桃 | 99视频观看 | 午夜手机福利 | 五月婷久久 | 免费av电影网站 | 国产成人91激情在线播放 | 亚洲免费在线 | 国产人妻人伦精品潘金莲 | 国产中文精品无码欧美综合小说 | 欧美人成在线视频 | 91在线观看视频 | 91中文字幕 | 台湾佬中文娱乐2222vvv | 日本在线观看高清不卡免v 国产成人一区二区精品非洲 | 91福利国产在线观看网站 | 日韩精品中文字幕视频一区 | 中文字幕亚洲综合 | 色影影院 | 亚洲高清不卡 | 欧美三级午夜理伦三级小说 | 日韩免费黄色片 | 在线播放国产一区二区三区 | 亚洲一区播放 | 97碰碰碰 | 久草福利站|