Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python do nothing

# To do nothing within a statement, use pass

good = True
if good:
  pass
else:
  print('This is not good')
Comment

PREVIOUS NEXT
Code Example
Python :: python unzip list of tuples 
Python :: how to change column name in pandas 
Python :: python how to check if a functions been called 
Python :: python iterate through files in directory 
Python :: random number pythob 
Python :: python print numbers 1 to 10 in one line 
Python :: value count in python 
Python :: how to find which 2 rows of a df are the most similar 
Python :: python pandas apply function to one column 
Python :: How to check for palindromes in python 
Python :: set seed train test split 
Python :: web crawler using python 
Python :: how to make a venv python 
Python :: convert a column to int pandas 
Python :: python left rotation 
Python :: conda python update 
Python :: split string and convert to int python 
Python :: python split string every character 
Python :: python find index by value 
Python :: discord bot python delete messages like mee6 
Python :: remove string punctuation python 3 
Python :: django migrate fake zero 
Python :: np.polyfit plot 
Python :: create limit using matplotlib 
Python :: length of dataframe 
Python :: python data structures 9.4 
Python :: how to custom page not found in django 
Python :: making a basic network scanner using python 
Python :: df rename columns 
Python :: /bin/sh: 1: python: not found 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =