Question: using idle python Albion uses email addresses of the form ABC12@albion.edu or sometimes just AB12@albion.edu. Write a Python print statement for each one of the

using idle python
Albion uses email addresses of the form ABC12@albion.edu or sometimes just AB12@albion.edu. Write a Python print statement for each one of the five (or possibly four) characters in you email so that each character is printed along with its decimal ordinal number, and the equivalent in binary and hexadecimal. Use the ord(), bin( ), and hex() functions. For example, if your email contained an x character, your code should print Use either upper or lower case letters. Part 3 (3 points) Write a Python print statement that demonstrates ei=1 where i is the complex number representing 1. Part 4 (3 points) Fermat's little theorem states that 2p1modp=1 for any prime p. Write a Python print statement that demonstrates this for p=341. In other words, show 2340mod341=1. FYI, this type of calculation is done as a part of many data encryption algorithms that help secure internet traffic. Recall that Python uses the % operator for the mod Recall that Python uses the % operator for the mod operation. Part 5 (3 points) Write a Python print statement that demonstrates 111,111,111111,111,111=12,345,678,987,654,321. Part 6 (3 points) Write a Python print statement that demonstrates (10000001000001)1000000e. Part 7 (3 points) Write a Python print statement that demonstrates 5699368212219623807203+(569936821113563493509)3+(472715493453327032)3=3. It is unknown if every positive integer can be expressed as a sum of three integer cubes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
