20240410 while_1

Run Settings
LanguagePython
Language Version
Run Command
# can we modified the code ? min_length = 2 name = input('Please enter your name:') while not(len(name) >= min_length \ and name.isprintalbe() and name.isalpha()): name = input('please enter your name:') print('hello, {0}'.format(name)) #example 2 a = 0 while a < 10: a += 1 # a = a + 1 if a % 2: # a / 2 continue print(a) # example 3\ l = [1, 2, 3] val = 1 found = Flase idx = 0 while idx < len(l): if l[idx] == val: found = True break idx += 1 if not found: l.append(val) print(l)
Editor Settings
Theme
Key bindings
Full width
Lines