Question: Help using PEP8! In a test situation you will have to write these programs on a sheet of paper. So practice that by doing it
In a test situation you will have to write these programs on a sheet of paper. So practice that by doing it on paper first, then use pep8 to verify your program works correctly. USE DIRECT ADDRESSING 1. This program has no input. Write a program to output CMPSC 345 (note the space) 2. Write a program to input three characters and output them in reverse (so if the input is pat, the output will be tap) DO NOT leave spaces in the input, if you do pep8 will take the space as the second character. 3. Write a program to input an integer. Add 2 to the number and output the result. 4. Write a program to input a string of three lowercase characters and output a string of these characters in uppercase. For example, if the input is abc, output will be ABC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
