Question: please answer in a short answer Q.1.(7 points) For each questions below, briefly explain what each code does: a) int(2.7) b) float(8) c) str(10) d)
Q.1.(7 points) For each questions below, briefly explain what each code does: a) int(2.7) b) float(8) c) str(10) d) int("Hello") e) bool(1) 1) int(False) g) 1375 h) 31/7 i) set((1, 3, 5, 7, 3, 5)) j) list({"Hi', 0, 2.7}) k) typer(2, 3.5)) 1) sorted([5, 2,-1, 01) m) len( {2, 0,-1.5)) n) (2, 'Good', [0, 1.8), 5)[1][3]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
