Question: 4. Rewrite following Python code segment in C# code power = 1 for y in range(,21): print 2 to the, y, is, power power =
4. Rewrite following Python code segment in C# code power = 1 for y in range(,21): print "2 to the", y, "is", power power = 2 * power
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
