News
We first took the string as input using the input function.; Then, we converted all its letters to the capital case using the upper function.; Next, using the len function we printed the length of the ...
The “print” command, as in BASIC, is what you will use in Python to display text on the screen. This is what we use to write “Hello World!” which is the first thing a programmer will ...
# takes user input and return its value only if the user has entered atleast 1 character print(f"{input_string} has {len(input_string)} characters.") # print(f"{input_string} has ...
# Prog03: Create a program that ask the user to input their fullname. Print the input in all capital letter.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results