Tuple_Exercise1_solution
()
('AI', 'Future')
(3, 6, 9, 12)
('P', 'y', 't', 'h')
('P', 'y', 't', 'h')
('P', 'y', 't', 'h')
('P', 'y', 't', 'h')
('P', 'y', 't', 'h')
(2, 'Naman', 3, 'Raman', 4, 'Shobit')
Tuple with nested tuples:
((2, 4, 6, 8), ('python', 'Langauage'))
Tuple with repetition:
('Good', 'habits', 'Good', 'habits', 'Good', 'habits')
(2, 4, 6, 8, 10, 'are', 'even', 'no')
Removal of first three element :
entist
Tuple after sequence of Element is reversed:
tsitneics
Printing elements between Range 2-5:
(3, 'Jatin', 4)
|
|