Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Pure VPN - Up to 27 Months
vgp
Updated:
Yesterday at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
May 30, 2026
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Software Development
Uom python course 1 assignment part 1
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="IT kolla" data-source="post: 27682299" data-attributes="member: 580164"><p>ow machan, meka thama awla thibbe. mama wena wenama input walata demmama code eka weda kala. help krpu hemotama thanks. eka weda kala. EOFError eka hari giya except ekata valueerror keyword eka demmama.</p><p>[CODE=python]# take input from the user</p><p> choice = input("Enter choice(+,-,*,/,^,%,#,$): ")</p><p> print(choice)</p><p> if choice == "#":</p><p> #program ends here</p><p> print("Done. Terminating")</p><p> exit()</p><p> if choice == "$":</p><p> continue</p><p> try:</p><p> a=input("Enter first number: ")</p><p> print(a)</p><p> if a == "#":</p><p> #program ends here</p><p> print("Done. Terminating")</p><p> exit()</p><p> a=float(a)</p><p> </p><p> b=input("Enter second number: ")</p><p> print(b)</p><p> if b == "#":</p><p> #program ends here</p><p> print("Done. Terminating")</p><p> exit()</p><p> b=float(b)</p><p></p><p> except ValueError:</p><p> continue[/CODE]</p><hr /><p></p><p>thanks mchan. mama meka balannm. kohomath mama answer eka submit kala.</p><p>------ <span style="font-size: 10px">Post added on [DATETIME="UT"]1651950206[/DATETIME]</span></p></blockquote><p></p>
[QUOTE="IT kolla, post: 27682299, member: 580164"] ow machan, meka thama awla thibbe. mama wena wenama input walata demmama code eka weda kala. help krpu hemotama thanks. eka weda kala. EOFError eka hari giya except ekata valueerror keyword eka demmama. [CODE=python]# take input from the user choice = input("Enter choice(+,-,*,/,^,%,#,$): ") print(choice) if choice == "#": #program ends here print("Done. Terminating") exit() if choice == "$": continue try: a=input("Enter first number: ") print(a) if a == "#": #program ends here print("Done. Terminating") exit() a=float(a) b=input("Enter second number: ") print(b) if b == "#": #program ends here print("Done. Terminating") exit() b=float(b) except ValueError: continue[/CODE] [HR][/HR] thanks mchan. mama meka balannm. kohomath mama answer eka submit kala. ------ [SIZE=2]Post added on [DATETIME="UT"]1651950206[/DATETIME][/SIZE] [/QUOTE]
Insert quotes…
Verification
Nawa warak dahaya keeyada? (Namaya wadi kireema dahaya)
Post reply
Top
Bottom