<?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>double asterisk in python - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/double-asterisk-in-python/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/double-asterisk-in-python/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Thu, 09 Sep 2021 10:54:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>double asterisk in python - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/double-asterisk-in-python/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What is Double Asterisk (**) in python ?</title>
		<link>https://www.wikitechy.com/interview-questions/python/what-is-double-asterisk-in-python/</link>
					<comments>https://www.wikitechy.com/interview-questions/python/what-is-double-asterisk-in-python/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Sun, 18 Jul 2021 14:56:56 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[* in python arguments]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[double asterisk in python]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Infosys Technologies interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[python asterisk argument]]></category>
		<category><![CDATA[python asterisk list]]></category>
		<category><![CDATA[python data science interview questions]]></category>
		<category><![CDATA[python double asterisk math]]></category>
		<category><![CDATA[python interview questions and answers for testers]]></category>
		<category><![CDATA[python multiple arguments command line]]></category>
		<category><![CDATA[python operators]]></category>
		<category><![CDATA[python pass args and kwargs to another function]]></category>
		<category><![CDATA[python programming questions]]></category>
		<category><![CDATA[python telephonic interview questions]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Xoriant Soluti interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=878</guid>

					<description><![CDATA[Answer : In Python ** is an exponential operator......]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="in-python" class="color-purple" style="text-align: justify;">** in python</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>In Python ** is an exponential operator.The double asterisk form of **kwargs is used to pass a keyword, variable-length argument dictionary to a function. Again, the two asterisks (**) are the important element here, as the word kwargs is conventionally used, though not enforced by the language.</li>
<li>Like *args, **kwargs get however several arguments you would like to supply into it. Though **kwargs differs from *args in that you will need to assign keywords.</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<p style="text-align: justify;">First, let’s simply print out the **kwargs arguments that we pass to a function. We’ll create a short function to do this:</p>
<p style="text-align: justify;">print_kwargs.py</p>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code id="code2" class="python hljs bash" data-lang="python"><span class="nt"><strong>def <span class="hljs-built_in">print</span>_kwargs(**kwargs):
<span class="hljs-built_in">print</span>(kwargs)</strong></span></code></pre>
</figure>
</div>
</div>
<p style="text-align: justify;">Next, we will call the function with some other keyword arguments passed into the function:</p>
<div class="subheading" style="text-align: justify;">
<h2 id="sample-code">Sample Code:</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-python code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-python code-embed-code">def print_kwargs(**kwargs):<br/>        print(kwargs)<br/>print_kwargs(kwargs_1=&quot;Shark&quot;, kwargs_2=4.5, kwargs_3=True)</code></pre> </div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="output">Output :</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-python code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-python code-embed-code">{&#039;kwargs_3&#039;: True, &#039;kwargs_2&#039;: 4.5, &#039;kwargs_1&#039;: &#039;Shark&#039;}</code></pre> </div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/python/what-is-double-asterisk-in-python/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
