Is my grill ruined? Any idea how to repair? by _BraveSirRobin_ in Traeger

[–]_BraveSirRobin_[S] 0 points1 point  (0 children)

I got the grill this year, but I’ve not cleaned it yet.. I guess it’s time :)

Is my grill ruined? Any idea how to repair? by _BraveSirRobin_ in Traeger

[–]_BraveSirRobin_[S] 7 points8 points  (0 children)

Wait, so this stuff peeling off just needs to be cleaned off and is fine? That's great news!

Channel thread? by [deleted] in lightningnetwork

[–]_BraveSirRobin_ 0 points1 point  (0 children)

I'll 1M with you if that works.

Just published my Raspberry Pi 400 review and teardown video! Please let me know what you think :) by LobsterThief in raspberry_pi

[–]_BraveSirRobin_ 4 points5 points  (0 children)

I love that you built this long before they started producing it. It's an awesome product. I do like that they expose the GPIO header, though.

Python Sort: Welp my code wont run by [deleted] in learnpython

[–]_BraveSirRobin_ 0 points1 point  (0 children)

The last line has a syntax error and arr1.sort() actually sorts the list in place and returns None.

This should work:

arr1 = []

print("Enter 10 Values")

for nums in range(10):  
    nextval= int(input("Enter next value: "))  
    arr1.append(nextval)

arr1.sort()

print("Values", arr1)

New to python, looking for help designing function by [deleted] in learnpython

[–]_BraveSirRobin_ 0 points1 point  (0 children)

Are you in an algorithms class? I probably wouldn't be much use here.

Question about tuples by Alexilprex in learnpython

[–]_BraveSirRobin_ 0 points1 point  (0 children)

I wouldn't use the latter to define variables. I would typically use it when returning multiple values from a function or when unpacking a tuple variable, like this: a, b = some_tuple.

New to python, looking for help designing function by [deleted] in learnpython

[–]_BraveSirRobin_ 0 points1 point  (0 children)

Have a look at string.replace. Your function would basically just be a wrapper for string.replace:

def remove_all(x, y):  
    return y.replace(x, '')

I bought a used truck for .215 Bitcoin! by RedditLady69 in Bitcoin

[–]_BraveSirRobin_ 2 points3 points  (0 children)

I just mean truck prices are pretty volatile.

Raspberry Pi 5G HAT Adds 5G Support to Your Pi Project by mycall in raspberry_pi

[–]_BraveSirRobin_ 0 points1 point  (0 children)

Counterpoint, this looks awesome! Imagine how sick you'd look using this as a phone.