feat(r-1.3_scratch.py): Starting all the way from 0
This commit is contained in:
@@ -4,14 +4,12 @@
|
|||||||
Created on Wed Sep 2 22:49:38 2026
|
Created on Wed Sep 2 22:49:38 2026
|
||||||
|
|
||||||
@author: joseph
|
@author: joseph
|
||||||
- I started working backwards at a point and wanted to figure out how to take
|
- I got very tired and decided to scrap the whole process I've been chasing.
|
||||||
multiple instances of user input and create a list out of them and work
|
I will start again soon, scrapping the input loop idea and just focusing on
|
||||||
backwards into the function itself. I need to find a way to end the input loop
|
function itself.
|
||||||
that I've created.'
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
data = []
|
def minmax(data):
|
||||||
x = input('Enter a number (enter "end" to stop): ')
|
|
||||||
while x != "end":
|
|
||||||
data += [x,]
|
|
||||||
print(data)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user