Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

par e impar pygame

import sys

a = int(sys.argv[1])

if a % 2 == 0:
    print('El número', a, 'es par.')
else:
    print('El número', a, 'es impar.')
Comment

PREVIOUS NEXT
Code Example
Python :: def square_odd(pylist) 
Python :: exec inside def is not working in python 
Python :: mudopy 
Python :: cbv uk django 
Python :: python amino acid dictionary 
Python :: root = tk.Tk() my_gui = App1(root) 
Python :: extract label from tf data 
Python :: import all models 
Python :: inspect first 5 rows of dataframe 
Python :: equivalent of spread in R in python 
Python :: fetch member by id discord.py 
Python :: python generate fibonacci series 
Python :: Can I convert python code to C++? 
Python :: display full length jupyter 
Python :: xlabel font size python latex 
Python :: discord.py get user input (simplified) 
Python :: test register user mismatched passwords 
Python :: pandas show all columns 
Python :: mechanize python XE #25 
Python :: comment interpreter tuple python avec valeur unique 
Python :: iterate rows 
Python :: AI code for diagnosing diseases 
Python :: str.format() 
Python :: iloc vs iat 
Python :: splitting Feature and target using iloc 
Python :: Palindrome in Python Using reverse function 
Python :: matplotlib insert small subplot into subplot 
Python :: en python quand on utilise = et== 
Python :: how to get mid time of given time in python 
Python :: catkin_make ignore pkg 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =