PYTHON PROGRAMMING Write a function which takes in a String input in the parameter area to empower a user to capitalize every other character (odd or even) to be UPPER case.
Added by Laura C.
Step 1
Define a function that takes a string input as a parameter. Show more…
Show all steps
Your feedback will help us improve your experience
Aishwarya Krishnakumar and 57 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Willis J.
Using Python, use import sys Create a program, that has a function that takes one string argument and prints a sentence indicating if the text is a palindrome. The function should consider only the alphanumeric characters in the string, and not depend on capitalization, punctuation, or whitespace. If your string is a palindrome it should print: It's a palindrome! If it is not a palindrome, it should print: It's not a palindrome!
Akash M.
Write a Python program that asks the user for their name and then prints the name out in all uppercase and then in all lowercase letters. The output should look like this: What is your name? Maria Your name in all uppercase letters is: MARIA Your name in all lowercase letters is: maria
Tarandeep S.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD