<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>コウノ &#8211; 実践WEBエンジニア養成講座Q&amp;A</title>
	<atom:link href="https://open-innovation-daigaku.com/unlimitedQA/author/%E3%82%B3%E3%82%A6%E3%83%8E/feed/" rel="self" type="application/rss+xml" />
	<link>https://open-innovation-daigaku.com/unlimitedQA</link>
	<description>学び放題エンジニア養成講座QAサイト</description>
	<lastBuildDate>Sun, 15 Oct 2023 01:32:58 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://open-innovation-daigaku.com/unlimitedQA/wp-content/uploads/2022/12/cropped-プログラミングQAアイコン-50x50.png</url>
	<title>コウノ &#8211; 実践WEBエンジニア養成講座Q&amp;A</title>
	<link>https://open-innovation-daigaku.com/unlimitedQA</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>【python】4章課題</title>
		<link>https://open-innovation-daigaku.com/unlimitedQA/%e3%80%90python%e3%80%914%e7%ab%a0%e8%aa%b2%e9%a1%8c/</link>
					<comments>https://open-innovation-daigaku.com/unlimitedQA/%e3%80%90python%e3%80%914%e7%ab%a0%e8%aa%b2%e9%a1%8c/#comments</comments>
		
		<dc:creator><![CDATA[コウノ]]></dc:creator>
		<pubDate>Sun, 15 Oct 2023 01:09:05 +0000</pubDate>
				<guid isPermaLink="false">https://open-innovation-daigaku.com/unlimitedQA/4%e7%ab%a0%e8%aa%b2%e9%a1%8c/</guid>

					<description><![CDATA[お世話になっております。 pythonの4章課題のコードについて質問があります。コードや出力結果に間違いはないように思えるのですが、課題が正解になりません。そのため、次の章に進めず困っております。どこが間違っているかご教 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>お世話になっております。</p>
<p>pythonの4章課題のコードについて質問があります。コードや出力結果に間違いはないように思えるのですが、課題が正解になりません。そのため、次の章に進めず困っております。どこが間違っているかご教授願いたいです。よろしくお願いいたします。(ちなみに、課題が正解していてもタイムラグがあるということはありますか？）</p>
<p>以下が4章課題のコードと出力結果です。</p>
<div>
<div><span>#商品合計金額</span></div>
<div><span>product_total = </span><span>138000</span><span> + (</span><span>12800</span><span> * </span><span>2</span><span>) + (</span><span>253</span><span> *</span><span>7</span><span>)</span></div>
<div><span>#割引金額</span></div>
<div><span>discount = </span><span>round</span><span>(product_total *</span><span>0.1</span><span>)</span></div>
<div><span>#小計</span></div>
<div><span>sub_total = product_total &#8211; discount</span></div>
<div><span>#消費税(10%)</span></div>
<div><span>tax = </span><span>round</span><span>(sub_total *</span><span>0.1</span><span>)</span></div>
<div><span>#合計金額</span></div>
<div><span>total = sub_total + tax</span></div>
<div><span>print</span><span>(</span><span>&#8216;商品合計金額: {0}円&#8217;</span><span>.</span><span>format</span><span>(product_total))</span></div>
<div><span>print</span><span>(</span><span>&#8216;割引金額: {0}円&#8217;</span><span> .</span><span>format</span><span>(discount))</span></div>
<div><span>print</span><span>(</span><span>&#8216;小計: {0}円&#8217;</span><span> .</span><span>format</span><span>(sub_total))</span></div>
<div><span>print</span><span>(</span><span>&#8216;&#8212;-&#8216;</span><span>)</span></div>
<div><span>print</span><span>(</span><span>&#8216;消費税: {0}円&#8217;</span><span> .</span><span>format</span><span>(tax))</span></div>
<div><span>print</span><span>(</span><span>&#8216;合計: {0}円&#8217;</span><span> .</span><span>format</span><span>(total))</span></div>
</div>
<div></div>
<div><span>商品合計金額: 165371円 </span></div>
<div><span>割引金額: 16537円 小</span></div>
<div><span>計: 148834円 </span></div>
<div><span>&#8212;- </span></div>
<div><span>消費税: 14883円 </span></div>
<div><span>合計: 163717円</span></div>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://open-innovation-daigaku.com/unlimitedQA/%e3%80%90python%e3%80%914%e7%ab%a0%e8%aa%b2%e9%a1%8c/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Disk: Enhanced  を使用したページ キャッシュ
Disk を使用して縮小 

Served from: open-innovation-daigaku.com @ 2026-07-06 10:59:15 by W3 Total Cache
-->