Python3 labs
- or -
Post a project like this1991
£25(approx. $31)
- Posted:
- Proposals: 3
- Remote
- #2186718
- Awarded
Description
Experience Level: Entry
Should be used code comments and finished until 22pm friday 26 10 2018 .
plus this code4:
buggycode4
# Fix this buggy code
options = ["Eat an Apple", "World Peace", "Destroy the World"]
print("Here are your options:")
count=1
for opt in options:
print(str(count) + ". " + opt)
count=count+1
x = int( input("What would you like to do? ") )
print("Ok... " + options[x])
# Note: It's a silly example, but a serious point.
# Such logic errors can be really hard to find and have big consequences!
plus this code4:
buggycode4
# Fix this buggy code
options = ["Eat an Apple", "World Peace", "Destroy the World"]
print("Here are your options:")
count=1
for opt in options:
print(str(count) + ". " + opt)
count=count+1
x = int( input("What would you like to do? ") )
print("Ok... " + options[x])
# Note: It's a silly example, but a serious point.
# Such logic errors can be really hard to find and have big consequences!
PPH User P.
100% (3)Projects Completed
2
Freelancers worked with
1
Projects awarded
100%
Last project
18 Nov 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies