What is the output of this code? a, b, c, d, *e, f, g = range(20) print(len(e))
You can check the output by writing this code in Code Playground. Ouput might be 14 because first four numbers are assigned to a,b,c and d. last 2 are assigned to f,g and rest (20-4-2== 14) are assigned to e (because of *)
What is the output of this code? a, b, c, d, *e, f, g = range(20) print(len(e)) Ans: 14
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
Help me solve this (using loop)