Question: Second Coding Project - Week 2 - P# 2 Write a Python program that: Asks the user a number as a string ( to set
Second Coding Project Week P#
Write a Python program that:
Asks the user a number as a string to set a max number of digits is ok;
Your program should ask which is the base an Integer from to ;
With that information, your program should compute the binary and decimal representations of the number, then print it out as a string
For example, if the user enters: FA and your program should print out:
FA in base is: in base and in base
If the user enters: and your program should print:
in base is: in base and in base
Your task:
Go to Canvas, and submit your Python file py within the deadline:
The deadline for this assignment is Next Thursday.
MERRIMACK COLLEGE
This assignment counts towards the Projects grade.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
