This is the first time I tried to solve a problem and wrote code for it, rather than learning some code and trying out to see what I might be able to do with it. As such, it's not much, but I'd like any tips and help about how I wrote this. Basically, I tried to write a program to find the biggest number in a list of numbers.
def main(): print("Enter a series of numbers separated only by spaces:", end='\t') n = input().split() n = [int(i) for i in n] while len(n) != 1: if n > n: n.remove(n) else: n.remove(n) print("the biggest number is: ", n) main()
Feedback? Did I do anything kinda noobish?