Question: python Creating Format Strings 1 point As of December 22, 2018, the largest known prime number is the 51st Mersenne prime, or 282,589,933 1, which


Creating Format Strings 1 point As of December 22, 2018, the largest known prime number is the 51st Mersenne prime, or 282,589,933 1, which has 24,862,048 digits. Of course, this Mersenne prime takes a while to calculate, so instead I want you to determine the value of the 13th Mersenne prime, or 2521 1. Embed this calculation in an f-string named mprime. The f-string will of course immediately evaluate to produce a string containing the 13th Mersenne prime as text. The type of mprime should be str not int. print doesn't turn mprime into a string. Starter code (click to view) Answer* 1 mprime = (2**521)-1 2 print (f'{(2**521)-1}') Your answer is not correct. Here is some feedback on your code: The type of `mprime' should be str`. Your answer still needs some work. Keep trying. Execution time: 0.0 S -- Time limit: 10.0 s Your code ran on relate-04.cs.illinois.edu. Your code printed the following output: 6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391486
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
