Python

Python Menu

Python

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

Definition

The upper() method returns a string where all characters are in upper case. Symbols and Numbers are ignored.

Syntax

string.upper()

Parameters

No Parameters.

Examples:

testStr = "Welcome to the Python tutorials" result = testStr.upper() print(result)

Introduction

Python Basics

Python Advance

Data Science Python Tutorials

Python Functions and Methods