Answered step by step
Verified Expert Solution
Question
1 Approved Answer
use jupyter notbook Q1 Part A ''' assign b with the value 20 and c with the value 3.14. Print the value of b and
use jupyter notbook
Q1 Part A
'''
assign b with the value 20 and c with the value 3.14. Print the value of b and c and thier respective data type. then, type cast b to float and c to int. Finally, print the update values of b and c along with thier new data types.
'''
part b
'''
Access value 30 from the below tuple
tuple1 = ("orange", [10, 20, 30], (5, 15, 25))
'''
part c
'''
write a program to copy elements 44 and 55 from the following tuple into a new tuple.
tuple1 = (11, 22, 33, 44, 55, 66)
'''
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started