Question: please please please dont use ai , please also use pseudocode so i can learn from it thank you. Requirements Two programs are required. In
please please please dont use ai please also use pseudocode so i can learn from it thank you.
Requirements
Two programs are required. In each program:
Create a folder namedwith yoursurname followed by then then the word prepexamplesmithprep In this folder, write the Pythonprograms and functions tosolvethe problems described below.
Name your program files with names of your choice that reflect their functions.
Start with a comment that includes your name and course number.
Before submitting your assignment for grading, adda collaboration statementas described in the syllabus as a comment in the program after the comment above. State "collaborator: none" if you did not have a collaborator. Submissions without acollaborationstatement may be assigned azero grade.
Include pseudocode that describes all steps required to solve the problem.
Employ variable names that describe the values they store and adhere to Python naming conventions.
Include additional comments as needed to annotate your code.
Use correct spelling and grammar.
Usefstrings to output variable values.
Use the "dunders test" for name equals main
When done,you have to zipcompress your folder for submitting. Do this byrightclicking on yourfolder and selecting "Send to "Compressed zipped folder".This will make azip file. Only zips are acceptable.Compression formats such asraror z will be assigned a zero grade.
Uploadthiszipped folder to the assignmentdrop box.
Write a program that contains a main function and a custom, void function named showlarger that takes two random integers as parameters. This function should display which integer is larger and by how much. The difference must be expressed as a positive number if the random integers differ. If the random integers are the same, showlarger should handle that, too. See example outputs. In the main function, generate two random integers both in the range from to inclusive, and call showlarger with the integers as arguments.
EXAMPLE OUTPUT
is larger than by
EXAMPLE OUTPUT
The integers are equal, both are
Write a Python program that can convert a Fahrenheit temperature to Celsius, or vice versa. The program should use two custom functions, ftoc and ctofto perform the conversions. Both of these functions should be defined in a custom module named temps. Custom function ctof should be a void function defined to take a Celsius temperature as a parameter. It should calculate and print the equivalentFahrenheit temperature accurate to one decimal place. Custom function ftoc should be a valuereturning function defined to take a Fahrenheit temperature as a parameter. This function should calculate the equivalent Celsius temperature and return it In the main function, your program should:
prompt the user to enter a temperature as an integer.
indicate the temperature scale of the temperature just entered.
call the appropriate function from the temps module.
Use an fstring to display the equivalent temperature accurate to one decimal place.
EXAMPLE OUTPUT
Enter a temperature
Was that input Fahrenheit or Celsius cf f
Fahrenheit equals Celsius
EXAMPLE OUTPUT
Enter a temperature
Was that input Fahrenheit or Celsius cf c
Celsius is Fahrenheit
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
