Question: 1) Write a python program to write to print all the characters of a string variable using for-loop. The value of the variable can be
1) Write a python program to write to print all the characters of a string variable using for-loop.
The value of the variable can be any word with at least 10 characters.
2) a) Using for-loop and range, print all numbers up to 20.
b) Using the code in 2a) print all odd numbers from 0 to 20.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
