<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.universitas.ro/index.php?action=history&amp;feed=atom&amp;title=Afi%C8%99a%C8%9Bi_versiunea_Python</id>
	<title>Afișați versiunea Python - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.universitas.ro/index.php?action=history&amp;feed=atom&amp;title=Afi%C8%99a%C8%9Bi_versiunea_Python"/>
	<link rel="alternate" type="text/html" href="https://wiki.universitas.ro/index.php?title=Afi%C8%99a%C8%9Bi_versiunea_Python&amp;action=history"/>
	<updated>2026-05-01T06:49:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.universitas.ro/index.php?title=Afi%C8%99a%C8%9Bi_versiunea_Python&amp;diff=175&amp;oldid=prev</id>
		<title>Cosmin.SABO: Pagină nouă: == Cerinţa == Să se afișeze versiunea de Python utilizată. == Date de ieşire == Se va afișa pe ecran versiunea curentă de Python. == Exemplu == ; Ieșire : Versiune: 3.10.8 == Rezolvare == === Rezolvare ver. 1 === &lt;syntaxhighlight lang=&quot;python&quot; line&gt; import sys   def get_version():     return sys.version.split()[0]   if __name__ == &quot;__main__&quot;:     print(f&quot;Versiune: {get_version()}&quot;)  &lt;/syntaxhighlight&gt;</title>
		<link rel="alternate" type="text/html" href="https://wiki.universitas.ro/index.php?title=Afi%C8%99a%C8%9Bi_versiunea_Python&amp;diff=175&amp;oldid=prev"/>
		<updated>2022-12-28T07:10:36Z</updated>

		<summary type="html">&lt;p&gt;Pagină nouă: == Cerinţa == Să se afișeze versiunea de Python utilizată. == Date de ieşire == Se va afișa pe ecran versiunea curentă de Python. == Exemplu == ; Ieșire : Versiune: 3.10.8 == Rezolvare == === Rezolvare ver. 1 === &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line&amp;gt; import sys   def get_version():     return sys.version.split()[0]   if __name__ == &amp;quot;__main__&amp;quot;:     print(f&amp;quot;Versiune: {get_version()}&amp;quot;)  &amp;lt;/syntaxhighlight&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Cerinţa ==&lt;br /&gt;
Să se afișeze versiunea de Python utilizată.&lt;br /&gt;
== Date de ieşire ==&lt;br /&gt;
Se va afișa pe ecran versiunea curentă de Python.&lt;br /&gt;
== Exemplu ==&lt;br /&gt;
; Ieșire&lt;br /&gt;
: Versiune: 3.10.8&lt;br /&gt;
== Rezolvare ==&lt;br /&gt;
=== Rezolvare ver. 1 ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line&amp;gt;&lt;br /&gt;
import sys&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
def get_version():&lt;br /&gt;
    return sys.version.split()[0]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if __name__ == &amp;quot;__main__&amp;quot;:&lt;br /&gt;
    print(f&amp;quot;Versiune: {get_version()}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cosmin.SABO</name></author>
	</entry>
</feed>