valewastaken / codeabbey_solutions Goto Github PK
View Code? Open in Web Editor NEWMy solutions for codeabbey.com's problems.
My solutions for codeabbey.com's problems.
The solution should not include the first value (N).
input data:
8 # N is not included in n
10 20 30 40 5 6 7 8 # n = 126
answer:
126
Therefore, the correct solution would exclude the first number like so:
o = input()
def suminloop(x):
x = o[0]
y = sum(int(x) for x in o.split()[1:])
return y
Although this solution seems to be missing something to me, it works.
Dear Friend!
As a CodeAbbey author I have a great problem due to your list of solutions. This just spoils learning process for others and as your collection is yielded by google for "codeabbey" at the second place from top, there is now little or no use in ranking users and issuing "certificates". That was one of the reasons to stop issuing certificates, by the way... :(
If you respect my efforts in creating this site, could you please make this repo private, remove it - or at least replace all mentions of the site from it? I feel very sorrow asking you for this, for I understand you've done it from the good intentions and invested certain toil in it. But I hope you may understand my feelings... Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.