https://github.com/rhildred/mb215lab1
https://github.com/rhildred/mb215lab1
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rhildred/mb215lab1
- Owner: rhildred
- Created: 2021-01-19T18:03:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-03T03:47:00.000Z (over 5 years ago)
- Last Synced: 2024-12-26T11:14:26.025Z (over 1 year ago)
- Language: Python
- Size: 73.2 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lab 1
Use the [pdf](ProblemSolvingBuildingBlocks.pdf) and the files in this repo to create solutions for these problems:
1. Take a distance in kilometers as input and output the same distance converted to miles.
2. Write a loop that asks the user for a number of rows and then prints out a pattern that looks like this:
```
#######
######
#####
####
###
##
#
```
3. Modify the grades program to do all of the letter grades
4. Modify your program from question 1 to handle non-numeric input.
5. Use 2 functions to display the number of vowels and consonants in a string that you prompt the user to enter.
6. If `254` is code for bed write a program that decrypts a string made from an encoded sentence that the user inputs.
7. Write a program that prints the short form for a month given it's proper name. For instance October => Oct.