-
Write a Python program that includes
single-line comments Explain what the program does in the comments? -
Create a program that declares variables of different types (integer, float, string) and prints their values and types?
-
Write a program that: Declares a few integer variables. Prints their values. Prints the sum of two of the integers.
-
Write a program that takes a string input from the user and prints the following:
- The length of the string
- The string in uppercase
- The string in lowercase
- The first character of the string