Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

codeforces 233 a solution python

n=int(input())
m=n+1
if n%2!=0 :
    print("-1")
else :
    for i in range (1,m) :
        if i%2==0 :
            print(i-1)
        else :
            print(i+1)
Comment

PREVIOUS NEXT
Code Example
Python :: python split files into even sets of folders 
Python :: np.conjugate 
Python :: foreach loop in python with index 
Python :: python get last cell value 
Python :: mechanize python #2 
Python :: mechanize python XE #27 
Python :: convert ui to py 
Python :: how to add an symbol to a certain part of a list python 
Python :: EXCEL , EXTRAER DELIMITADOR 
Python :: unpack 
Python :: example of python application from github to docker image 
Python :: vidgear python video streaming 
Python :: schema json in oython 
Python :: manipulate list using slice assignment 
Python :: evaluacion PCA python 
Python :: make seaborn plot larger to fit legend 
Python :: separating numeric and categorical feature using loop 
Python :: Big List into small chunk of lists 
Python :: Python Anagram Using Counter() function 
Python :: Simple Python Permutation Passing argument as the second parameter 
Python :: how to create dict key with list default -2 
Python :: using format str with variable 
Python :: Algorithms and Data Structures in Python (INTERVIEW Q&A) 
Python :: convert a float array to an integer 
Python :: Javascript rendering problem in requests-html 
Python :: jupyter extension 4 
Python :: Python NumPy asarray Function Example Tuple to an array 
Python :: add a new field to a Hosted Feature Layer 
Python :: torch mean of tensor 
Python :: NumPy rot90 Example Rotating Three times 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =