First time here? Check out the FAQ!

EddieJar's profile - activity

2021-01-08 17:32:06 -0500 received badge Famous Question (source)
2020-08-10 07:51:33 -0500 received badge Famous Question (source)
2020-07-14 11:03:23 -0500 marked best answer What is wrong with this code

if YCentury == 23: CenturyCode = 0 if YCentury == 20: CenturyCode = 6 if YCentury == 24: CenturyCode = 6

2020-07-14 09:35:56 -0500 received badge Popular Question (source)
2020-07-14 09:35:56 -0500 received badge Notable Question (source)
2020-07-12 12:36:30 -0500 asked a question What is wrong with this code

What is wrong with this code if YCentury == 23: CenturyCode = 0 if YCentury == 20: CenturyCode = 6 if YCentury =

2020-03-07 13:44:30 -0500 received badge Notable Question (source)
2020-03-07 13:44:30 -0500 received badge Popular Question (source)
2020-02-24 08:51:59 -0500 marked best answer What is syntax error in line 'elif item is not None:'

Example:

def _flatten(seq):
    """Internal function."""
    res = ()
    for item in seq:
        if is instance(item, (tuple, list)):
            res = res + _flatten(item)
elif item is not None:
        res = res + (item,)
    return res

try: _flatten = _tkinter._flatten
except AttributeError: pass
2020-02-21 20:41:09 -0500 asked a question What is syntax error in line 'elif item is not None:'

What is syntax error in line 'elif item is not None:' def _flatten(seq): """Internal function.""" res = () f