Monday, 5 December 2022

Python String Operation - 3

#CONCATENATION

OUTPUT 1 : HelloBuddy OUTPUT 2 : My name is Buddy, and I am 66 OUTPUT 3 : I want 4 pieces of product 1012 for 49.95 rupees.

Python String Operation - 2

 #STRING UPPERCASE

OUTPUT 1 : HELLO, BUDDY! OUTPUT 2 : hello, buddy! OUTPUT 3 : Hello, Buddy! OUTPUT 4 : Jello, Buddy! OUTPUT 5 : ['Hello', ' Buddy!']

Python String Operations - 1

 

OUTPUT 1 : ello OUTPUT 2 : Hello OUTPUT 3 : llo, Buddy!

Python Type Conversion

#TYPE CONVERSION

1.0 2 (1+0j) <class 'float'> <class 'int'> <class 'complex'>

Python Data Type - Exercise

 #GETTING THE DATA TYPE

subramanian <class 'str'> 5 <class 'int'> 5.05 <class 'float'> subramanian 5 5.05

Python Data Types

Text Type  str
Numeric Types  int, float, complex
Sequence Types  list, tuple, range
Mapping Type  dict
Set Types  set, frozenset
Boolean Type  bool
Binary Types  bytes, bytearray, memoryview
None Type  NoneType

Python Basics

print("=====WeLcOmE=====")

=====WeLcOmE===== please enter your name : Buddy Hi.. Buddy

 

 

welcome

Kiro - Core Features

What is Kiro Kiro is an innovative AI-powered IDE that revolutionizes software development through intelligent assistance and structured wor...