Python) Problems using For

input: 4 output: 10
input: 5
output
input and output

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Best Backend Languages for Android App

What is Software Reverse Engineering and How does it work?

Memoization in a nutshell

Found This Week #73

Clojure & Datomic: Time Travel made easy

Incremental Website rebuilds using Amazon CloudFront

I don’t study frameworks

GSoC 2019 — Apache OODT React-based OPSUI Dashboard

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
강현상

강현상

ashton

More from Medium

Some examples using Python for simple linear regression modeling and visualization.

Divide a 4D array into training set and validation set for CNN (regression)

Loops In Python

Learn Concatenation and Interpolation with Python Strings