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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!