create empty function python
# Correct way of writing empty function
# in Python
def fun():
pass
create empty function python
# Correct way of writing empty function
# in Python
def fun():
pass
how to check empty string in python
my_empty_string = '' # given the empty string a variable
def check_empty():
if not my_empty_string:
print("Empty")
else:
print("Not Empty")
check_empty()
# by George Kwabena
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us