Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python 3 (python 3.7.3) sample

from sys import stdin
 
for line in stdin:
	n = int(line)
	if n == 42:
		break
	print(n)
Source by ideone.com #
 
PREVIOUS NEXT
Tagged: #Python #sample
ADD COMMENT
Topic
Name
1+2 =