plz answer these short Qs in python language thanks Q1- Writean expression whose value is thecharacter at
Question:
plz answer these short Qs in python language thanks
Q1- Writean expression whose value is thecharacter at index 3 ofthe str associated with s.
Q2- Write an expression whose valueis the str that consists of the third tolast character of the str associatedwith s.
Q3- Assumethat given, middle and family arethree variables oftype String that have been assignedvalues. Write an expression whose value isa String consisting of the firstcharacter of given followed by a period followed by thefirst character of middle followed by a period followedby the first character of family followed by a period: inother words, the initials of the name. So if thevalues of these three variables were "John" "Fitzgerald""Kennedy", then the expression's value wouldbe "J.F.K.".
Q4- Write an expression whose valueis the str that consists of the first fourcharacters of the str associatedwith s.
Analysis and Design of Analog Integrated Circuits
ISBN: 978-0470245996
5th edition
Authors: Paul R. Gray, ? Paul J. Hurst Stephen H. Lewis, ? Robert G. Meyer