Output
Output
<class 'int'>
<class 'float'>
<class 'complex'>
<class 'str'>
<class 'list'>
<class 'tuple'>
<class 'dict'>
True
<class 'bool'>
Output:
Enter First number: 10
Addition: 12
Subtraction: 8
Multiplication: 20
Division: 5.0
Floor Division: 5
Power: 100
modulos: 0
Output:
Enter first string:Vignesh
Substring: Saveetha
Output:
0. Exit
1. Add
2. Delete
3. Display
Enter choice: 1
List:[ 2]
Enter choice: 1
List: [2, 4]
Enter choice: 2
List: [4]
Enter choice:0
Exiting!
Output:
Created tuple is : ('apple', 'banana', 'cherry', 'mango', 'grape', 'orange')
apple
banana
cherry
mango
grape
orange
Length of Tuple is : 6
Output:
Alice's score: 92
Student Scores:
John: 85
Alice: 92
Bob: 80
Emma: 95
Charlie: 88
Alice: 92
Bob: 80
Emma: 95
Charlie: 88
Output:
Enter the number of elements: 5
Enter element 1: 34
Enter element 2: 65
Enter element 3: 76
Enter element 4: 56
Enter element 5: 25
Fibonacci sequence:
13
21
34
None
Output:
Enter a Student Name:Vignesh
Name: Vignesh
Average: 96.4
Percentage: 96.39999999999999
Output:
Enter the name of the input file: F:\first.txt
am
from
gandhiraja
hello
hi
salem
vignesh
Output:
Enter a Number:100
C
Output:
Enter a number 1:24
331776
Output:
Enter a String:I am Vignesh from salem
salem from Vignesh am I