loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.1957934475228753","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"IyBGaW5kIG91dCB0aGUgc21hbGxlc3QgYW5kIHRoZSBsYXJnZXN0IGZyb20gZ2l2ZW4gbnVtYmVycw0KDQpudW1saXN0ID0gW10NCm4gPSBpbnQoaW5wdXQoJ0hvdyBtYW55IG51bWJlcnMgeW91IHdhbnQgdG8gZW50ZXIgPzogJykpDQpmb3IgeCBpbiByYW5nZShuKToNCiAgICBudW1iZXJzID0gaW50KGlucHV0KCdFbnRlciBhIG51bWJlciAnKSkNCiAgICBudW1saXN0LmFwcGVuZChudW1iZXJzKQ0KcHJpbnQoIkxhcmdlc3QgbnVtYmVyIGluIHRoaXMgbGlzdCBpcyA6IiwgbWF4KG51bWxpc3QpLCAiXG5TbWFsbGVzdCBudW1iZXIgaW4gdGhpcyBsaXN0IGlzIDoiLCBtaW4obnVtbGlzdCkpDQo="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
# Find out the smallest and the largest from given numbers

numlist = []
n = int(input('How many numbers you want to enter ?: '))
for x in range(n):
    numbers = int(input('Enter a number '))
    numlist.append(numbers)
print("Largest number in this list is :", max(numlist), "\nSmallest number in this list is :", min(numlist))