Write a python program that prints out a table of values of


1. Read Python Tutorial (https://docs.python.org/3/tutorial/index.html) sections 1 to 4.5.

2. Write a Python program that prints out a table of values of all even powers of 2 from 2**0 through 2**32. For each value, print the value in decimal, hexadecimal, and binary. Python provides library functions hex and bin for performing the conversions.

3. Write a Python program that prompts the user to enter an input between 0 and 10000, then counts how many numbers between 0 and the entered number are divisible by 4 with no remainder. Print out a message containing the final count.

Once you've finished with the assignment, go to https://www.w3resource.com/pythonexercises/python-conditional-statements-and-loop-exercises.php

and do as many exercises as you can.

Add the solutions to the exercises that you personally solved and a brief description of the process to arrive to the solution. If you had to look into the solution before you come up with the answer, DO NOT add it to the list of exercises resolved. Submit the list of programs resolved in a word document and upload it to Moodle.

Solution Preview :

Prepared by a verified Expert
Python Programming: Write a python program that prints out a table of values of
Reference No:- TGS01591643

Now Priced at $35 (50% Discount)

Recommended (91%)

Rated (4.3/5)