Finding element from tuple
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
It will take less than 1 minute to register for lifetime. Bonus Tip - We don't send OTP to your email id Make Sure to use your own email id for free books and giveaways
Answers ( 3 )
You just need a single line of code to do this->
print(my_tuple[3:7])
# Printing 3rd to 6th element
print(my_tuple[2:6]);
my_tuple[2:6]