Python Assignment
Python Assignment
:: How
I
:.lo t~fu:on .
.iJ)ontll --- - - __ _ __
____ ~; ¼\-_cµtir,9 _ (J.n(j ~~,n,g _ -f:i"boo_ on_ lNlndQU-U Of~~ ;~ rr _
_ _ _ ,; 4 "~ -
~ r<l.f---"'\e'----"--. The. ~rvJaJJo.:Lon- fjt,() ~ invo l.YU cY.vJ
; lliN-t /2~\ : -- -
""-....___ _ _ __ _ _ __ _ _ _ _ __
Ii
i .1 1
D~ d :ibe b\n<»t.l'-M 1
11
: o
,,:. ,~~utlo..bte ,oo·toJJw
I
•· n u...u.b i
,;
I
AJJ .Jcdea.&es Down,/oad
,_ \
fi.o~ :
.," w, n oo w s .
r
I
' &wu~ c.ede I I I ,.
'. .• I -, ' I , I ' I t
,I -4
',
I
'I
I
wfnJnwp I '
:(,~:i~~n a-~•:·•J. '· . (
ii •'
I
' -
rr)(J.(,0_$ '
-
~
f I I
I !
I I
,I
: I_ I • -
' \
- C
'· r !' : oJ. l '. ; ; · J!'
C
.t ~ '
f.
., ;, J
- j --. /'.J ,. · 1 , ) ,· ; '. ! ' { I
.. .
I
- I d -. J
I f• ii t • . ! . . r ._
..._, ·I
I
. , -fi-do i
:lo tht
' . , ..
-~ ' J .L.L J I •
I !!;, Python 3.11.1 (64 -bit) Setu p
~ Install Now
C:\U"1s\adm1n\AppData\Local\Prog1ams\Python\Python ll l
python
lt>t I_,., Uw 1d1111n 111 1v,l11c1••• whl•t1 uc&l• ll•no l'Y•"'"
---- - -- -~-~=--=--:-~
--
. dOWS
WIn
-~-~=-- ~- -~~~~~-:_- :_~-=
- _J
Pl Add pythun ... u• lu l'AII I I CJnc-rl
\;lt Python 3.11 .1 (f>.1 -uit) Setup --
, t Optional Features
0 Qocumentation
,, .
·I Installs the Python documentation files.
, ' • 4
011ip
Installs pip, which can download and install other Python packages.
\ I 0 td/tk and IDLE
Installs tkinter and the IDLE development environment.
0 Python !est suite
Installs the standard library test suite.
0 py launcher 0 for 211 users (requires admin privileges)
Installs the global 'py' launcher to make it easier to start Python.
pyth9n
for
winnow"
0 tiOJl,\
~\-o.ll Ad,d P ~on ~ t.nv bumrn.1.1tt
o.n ./2ilid- ~e
I /JM.ou
0"101
I
;o/2 \-ollo..Hon d:nedo
1 ,
1 : ...l.f)
vonce.d
• 1be. .Lu\- ( opi' o~) ~ kf ,in c:.&,e 1nAhtlktiion pcrot t1-~ ..i~ _fu_
Pt1\:bon f?o..t'n ~ :the., ~Hrn :±n"1'rrooh'\ti1tv'OJl: ~
_ _ _1'h
.·.:. .:. ·_,~-
. .:;. ~~ J..b done j.o a.tttM f':11:hon 4h,.-o~ _-fue ~
,_ - - - -~ - _ .}; ~ • W~ - ~ - c,_d_d_~_d_ _ p¾i~ Q- _jo _ _t,f\'1t?_w f'ln'lu-J -~~
_ _ _VJ.JruJ~-- ~Uti~ ~e Aovo..n te.d op~of\i~ d~ #) ~
•---- .. ,m\o.llo.1.i.on. P""°ledv,,e Jll 4-he Jo.\1- h kp . 1
f we ~
7
-#ie OJti u ''
I siHin '' 'In \I
,; ~ t
·; u,undl,u,
-,
,i
., ,
i;i, P; thon 3.11.1 (6-!-b,t) Setu
p
Ad va nc es O tions
Install Python 3.11 for .i!.11
Associate files with Pyt hon
u~er~ · -· ·
(req uire s the 'py' launche
r)
d application s
Cre ate shortarts for inst alle
men t variables
Add Python to ~nv iron
ary
£recompile stan dar d libr I I
• L. •
bol s
Download debugging s-m
r)
(req uire s VS 2017 or late
Download debug binaries I · ' t ~. t •
I '
--·.:;-- ·- - - - - - - - - - -
I I
-
• T
I j
Setup was su cc es sf ul
h the onl ine tutorial and
New to Python? Start wit ch Pyt hon
term ina l • type "py· t o Iaun
documentation. At you r ·
you r Sta rt men u.
or search for Python in
using
, or find more info abo ut
See what's new in this rele ase
Pyt hon on Windows. ' I
' I
~- - -- - - - - - -
python
- -- - - - - - '°'
- - --.- - - - . .
- _,I
(10:1,•
-
- ------ I
- -- -• -
'
__ _,__ .L. . ' '
, -- - I I I
-- -- -
~ , -. .,/
-===-===-==-__:--==-.., - ---- - --- .
--- - --- -----
-- --------- . -
.
----
• t.ve. .~ Q'() ~.\ l ' r"]
~oJJJd.
-licrosoft i·:ir,dous (version 10. e.1904;, 2364 j
(c) ''ic~os,:,f, Corporation. All righ'i:S reser•:ed.
: \Uses\ad~:r.>python
ythor. 3. 11.1 {~ags/1!3.l1.1:a7a4;ef, Dec 6 20::2, 19:58:39) (MSC •:.1?:," 6'1 b:: : ::,~64j] on 1-,irr32
,ype "help", "copyright", "credits" or "license" for more inforrna:ion.
>»
i lDLEShe113.11.1 - D X
- - - - - - + + - - - - - - - J File Edit Shell Debug Options Window Help
~hon 3.11.l (tags/v3.ll . l:a7a450f, Dec 6 2022, 19 : 58 : 39) [MSC v.1934 64 bit ( "
AHD64)) on winJ2
Type "help", "copyright", •credit3" or "license()" for more info:cmation.
( ., »> I •
I .. l' , l _ _ _ _ _ ! L - - - - - - - - - - - - - - - - - - - - - - 1
• , ::: . ,
y
. tDLt (p ~ o f\ 3· \\ G4 - bll
iti o.1:1d ~
.p,u·o+ ' _L.I~
f1Ys1 uµ-01
'')_ _a.rd
{ '' Htlt~o_ pn.tM
: !A)e. ~}-
eu1k,i
~ 0-t
.:to ------
--
4h'- ~ ul- "T~ ~e'_:_~~-'-l. :~
--0h~ w ,, bl..low I•
" ,i. ~ I I I
--
•I
' File Edit Options Window Help
Shell Debug '• ,
1
.,
l ,I' I ; I r I
Python 3.11.l (tags/v3.ll.l:a7a 450f, Dec 6 20
,. , . ~
I .,.
22 , 19:58:39) [MSC v.1934 64 bit (AMD6'4) J on w -
- I
I
l .
I • ◄ ~ r
I in32 ;-
I
~
.. • I I Type •help•, "copyright•, "credits" or "licens
• I
, ;
I
-
I e O" for more information.
>>> lf-1
I
'' - .. -
. ,. ~ ,_.
I
2 I
I I
' >, , _
• I f /
Fi!_e Edit Shell
Newfile
Debug
Ctrl+N
Options Window Help
.ll.l:a7a450f, Dec 6 2022
.
"' I f - - - - -. - - - : . _,,,
__ _ _ _ _ _ __
• 4 • i
Open...
Open Module...
Ctrl+ 0
Alt+M
64 bit (AMD64)] on win32 '
"credits" or "license() I
,
~
.
• I •
Recent Files
Module Browser Alt+C
► ( .
Path Browse,
• I Save Ctrl+S . ..
Save As_ Ctrt+Shift+S
Save Copy As... Alt+Shift+S
Ptinf Wuldow
Close Window
b dlDl.£
Cttl+P
Alt+ F4
Ctrl+Q
1---·-·_,_·_,~___;_________
-
"
-----
-
~ ·N~i~ ~.o.:; ,__;w=--+-,~~· ~
-:!2=™3 ..;;....
o pFuu
:::...:_.....;;, gr-
·"--:-1 ·· ~ _ -~ \t -~ Mr IJJ.JU
_ _
_..}h ' o_f"'\______
~ _\ _ _o...,.p_~_
e __"-Mf ,r1_ _ ~ _ f'("")tl \.U , b~ _ l'::'l f I Pun
-+~~·It__ •Ir"
~ 'o_u_""'-·-~- - ~-b. .o. .......b_\u,d-
__ _..___,,,__
;:ln , _~ f'_
_.,.o/U.,l _._ •
4 bL...Jt...__ t ~_pt_•-
J?'--
·-·--'JC
. .' •
f~~'()f' ~ • I I "
1
I I I I I '
r..
I I •
Lnd Col:40
'"
--- --- --- --1 ~"" First.py - C:\Users\admin\First.py (3.11.1) □ X
Help •
p:rint: ( "This is R1Jn Mcd1Jle F3 >I
I • ~
• j ' ..
·ca..ri
I". •
,o .~th on 1:DLE 1~ and , ~ ouJ-pu-t
i
pt
. , , f
d. I • .. ,·, I , ~ , .
t • I
! :•
D X
I
~ 1 IDLE5hell3.11.1 11 I • •
- - - -- - - -I £ile fdit Shell Qebug Qptions Window tlelp
- --
.. Pyt:bo o 3 . 11.1 (t:ags /v3 . ll.l:a7 a450 f , Dec
19:58 :39) [MSC v.193 4 64 bit: (AHD6 4)) on
6 2022,
wio32
"i _ _:__ _ _ __ _ __ .____
j
•licen ., e ()
Type •help •, •copy x:igbt :•, •cx:ed it:s• or
• for more infoa natio o.
.. >>>
=--== RESTART : C:\Us ers\ad mio\F irst:.p y =-=--
Th u i s my tir:s t: pyt:bo n progra m
l n:il ('1>&0
-
4. , 1),~~ t ~ . · ~u-weq\ 1nh'1 OJJ-;v~ ~ gc.-npt [!)o<YJ i-
,
, P""9"'am ±-x.'-4.LHoo
,I \ , IL . / I I I ''
a.
Ob\-o.ine.d on
• 'int010.d,
/2hoT-r
a. di ' c..cde
done in rncde
.. M~ \- modt; e,nli"re
' "led
.·~ · · . 'M\-- ~ - t.orf-\.. Ol)j
I • l"
• • T+ ...u
~ \J~ r\~.,,\_
----