Python

Python Menu

Python

Python String isupper() - Definition, Syntax, Parameters, Examples

Definition

The isupper() method returns True if all the characters are in upper case, otherwise False. Only alphabet characters are checked.

Syntax

string.isupper()

Parameters

No Parameters.

Examples:

testStr = "WELCOME TO THE PYTHON TUTORIALS!" result = testStr.isupper() print(result) # another example testStr = "Hello World!" result = testStr.isupper() print(result)

Introduction

Python Basics

Python Advance

Data Science Python Tutorials

Python Functions and Methods