Code2pdf 672e034ddb996
Code2pdf 672e034ddb996
1941
Type "help", "copyright", "credits" or "license()" for more information
================================================================== RESTAR
Enter a year: 3036
The year 3036 is a leap year.
================================================================== RESTAR
Enter a year: 3030
The year 3030 is not a leap year.
================================================================== RESTAR
Enter a number: 4003
Multiplication Table for 4003:
4003 x 1 = 4003
4003 x 2 = 8006
4003 x 3 = 12009
4003 x 4 = 16012
4003 x 5 = 20015
4003 x 6 = 24018
4003 x 7 = 28021
4003 x 8 = 32024
4003 x 9 = 36027
4003 x 10 = 40030
================================================================== RESTAR
*
* *
* * *
* * * *
* * * * *
================================================================== RESTAR
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
================================================================== RESTAR
A B C D E
A B C D
A B C
A B
A
================================================================= RESTART
Enter a string: bharat
Indices of vowels in the string:
Vowel 'a' found at index 2
Vowel 'a' found at index 4
================================================================= RESTART
Enter a string: Mahito
Converted string: mAHITO
================================================================= RESTART
Enter your username: Itadori
Enter your password: Samayrainaa
Username not found. Please try again.
================================================================= RESTART
Enter your username: user1
Enter your password: password1
Login successful!
================================================================= RESTART
Your 6-digit OTP is: 228620
================================================================= RESTART
Enter your username: Itadori
Do you want a random password (y/n)? y
RANDOM PASSWORD is: 540156
YOUR USERNAME IS: Itadori
YOUR PASSWORD IS: 540156
================================================================= RESTART
Enter your username: Samay Raina
Do you want a random password (y/n)? n
Enter your own password: SupremeLeader
YOUR USERNAME IS: Samay Raina
YOUR PASSWORD IS: SupremeLeader
================================================================= RESTART
Enter numbers separated by spaces: 1 2 574 18 90 36
The largest number is: 574
The smallest number is: 1
================================================================= RESTART
Enter a string: hello
The string is not a palindrome.
================================================================= RESTART
Enter a string: madam
The string is a palindrome.
================================================================= RESTART
Enter a string: A man a plan a canal Panama
The string is a palindrome.
================================================================= RESTART
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 3
Enter customer ID to delete:
================================================================= RESTART
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 2
Enter customer ID: newuser11
Enter customer name: atharva
Enter customer phone number: 9004045557
Customer added successfully.
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 1
Customer Records:
ID: newuser11, Name: atharva, Phone: 9004045557
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 2
Enter customer ID: newuser12
Enter customer name: siya
Enter customer phone number: 30302083
Customer added successfully.
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 2
Enter customer ID: newuser10
Enter customer name: jay
Enter customer phone number: 99889786
Customer added successfully.
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 3
Enter customer ID to delete: newuser11
Customer with ID newuser11 deleted successfully.
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 1
Customer Records:
ID: newuser12, Name: siya, Phone: 30302083
ID: newuser10, Name: jay, Phone: 99889786
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 4
Enter customer ID to search: newuser10
ID: newuser10, Name: jay, Phone: 99889786
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 5
Enter customer ID to update: newuser10
Enter new name: jayesh
Enter new phone number: 9676554568
Customer with ID newuser10 updated successfully.
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 6
Sorted Customer Records:
ID: newuser10, Name: jayesh, Phone: 9676554568
ID: newuser12, Name: siya, Phone: 30302083
Menu:
1. Show record
2. Add new customer
3. Delete a customer
4. Search record
5. Update record
6. Sort record
7. Exit
Enter your choice: 7
Exiting program.