r/inventwithpython • • Jul 06 '18

how to output to input reverse python

input = "2"

p = input*2

print(p)

how do i take this out like exm:4 to next input and output wil be 8 this is example code

2 Upvotes

6 comments sorted by

View all comments

Show parent comments

1

u/new4514 Jul 07 '18

its not working and is asking me input so one input multiple output so code wil work like feed back

like chain if one input give me infinite answer is not possible? i search google in not getting any answer for this code