Just setting up my twttr


just setting up my twttr

— jack⚡️ (@jack) March 21, 2006

When texting or tweeting, it's not uncommon to shorten words to save time or space, as by omitting vowels, much like Twitter was originally called twttr. In a file called twttr.py, implement a program that prompts the user for a str of text and then outputs that same text but with all vowels (A, E, I, O, and U) omitted, whether inputted in uppercase or lowercase.

Hints

Before You Begin

Use ssh program such as putty to login to practice server (158.108.112.10) with your account:

Then execute

cd cpe113

to change directories into that folder.

Then execute

mkdir twttr

to make a folder called twttr in your cpe113 folder. Then execute

cd twttr

to change directories into that folder. You can now execute

nano twttr.py

to make a file called twttr.py where you'll write your program.

Demo


How to Test

Here's how to test your code manually:

Run your program with python twttr.py. Type Twitter and press Enter. Your program should output:
Twttr
Run your program with python twttr.py. Type What's your name? and press Enter. Your program should output:
Wht's yr nm?
Run your program with python twttr.py. Type CPE113 and press Enter. Your program should output:
CPE113
You can execute the below to check your code using check50, a program that cpe113 will use to test your code when you submit. But be sure to test it yourself as well!

check50 thanawat-ku/problems/cpe113/2022/twttr

Green smilies mean your program has passed a test! Red frownies will indicate your program output something unexpected. Visit the URL that check50 outputs to see the input check50 handed to your program, what output it expected, and what output your program actually gave.

How to Submit

In your terminal, execute the below to submit your work.

submit50 thanawat-ku/problems/cpe113/2022/twttr