Message from Python discussions

November 2018

— Is homework


lst = [8, 10, 6, 4, 2]
#swapped = True
'''while swapped:
swapped = False'''

for i in range(len(lst) -1):

if lst[i] > lst[i + 1]:
#swapped = True
lst[i], lst[i +1] = lst[i + 1], lst[1]

— Pls someone should help me understand the output i am getting....the for loop and if is confusing me

— Please anybody to help

— I need to convert this into text (nearly 2000 pages are there)

But it is not in normal font so i am getting full content converted into text while processing

What should I do now??

Should I teach python to understand each letters??

Message permanent page

— I was wondering how to run code after executing task.react() from twisted.internet. Basically, I have a function (main()) which I execute with react(main()). However, any code I write after react(main()), gets ignored.
For example:
prints just ‘abc’.

Also, if I put react in a for loop:
‘‘‘for i in range(2):
it executes just once and than stops.

Anyone have any suggestions as to how to avoid this?

Message permanent page

— Guys...anyone working here with qiskit package

— Guys please Help me i want to be a hacker in future what should i do

— Learn python)

— I am a computer science student

— 😂

— Oh man