Python Assignment 1 - Ashish Devadiga
Python Assignment 1 - Ashish Devadiga
Dote
Page
Assignment-1.
helo wond
Simple ayogZour tat Display StntaH
Q0 of the
It's often' used to illyStotehe
Janguage
Ans Paint C hello worla ")
Outpot: Hello woldul
Psint Cc)
Qutpot 9
Numbe' numbea
Wumbe
classmate
Date
Page
wite
pydhon soraon to findo te Squase H
Ang Float Cinput C Entes au numby J)
woite SolveUadsoiC
equuticn
Ou 4
b
C>6
Psint C Zexo"
eise:
1
Point Co negetive number
elassMate
Date
Page
Ch eale it lombex iS
write u Pyon to
eve
numbe
Ans num nt Cingut C En tex a
Point C Numbex is Cven")
Cise:
psint Cte uumbex iS odd ")
if Cnurm i R 0
flag
det SubCSeif.othexJ
xetur ComplexWOmbes Selt teo 0t
Yeo
SOf inaginasy OBher imaginary]
def mul Cseit. othex
past C SeIt xeal
otheaect)
(
CSeif imaginaay * Othes imaginary
imaginaaylast- C Seif. xer * 0ther.imagihe
Paxt)
if man
1 Compiex Numbex C3
(C2
PrintCECC C EcI
Print C C2:623)
Psint CFobSca iphion i
c23) EC13n&
C23)
PointCe HE ENO