0 of 7 questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Your time:
Time has elapsed
Good work attempting the practice problems!
Please leave a comment below if you require any clarifications or send an email to [email protected] if you have any comments about this quiz.
You have completed this lesson!
Write a Python program that finds the position of first “i” in “string”?
Use for-loop with break.
This response will be reviewed and graded after submission.
Write a python program that prints numbers from 1 to 50 except those that are divisible by 3 ?
Use a for-loop.
This response will be reviewed and graded after submission.
Write a python program that prints all letters of the word “string” but skips the letter “t” ?
Use for loop
This response will be reviewed and graded after submission.
Write a python program to check whether a number is prime or not? After that modify the program to print every number between 1 and 50 along with whether it is prime or not.
This response will be reviewed and graded after submission.
Write a python program that skips the letters in even position while printing all characters of a string?
Use for-loop.
This response will be reviewed and graded after submission.
Write a python program that prints all characters in a string. It stops printing if it comes across the letter “h”?
str1 = “a programmer writing in python”
This response will be reviewed and graded after submission.
Write a python program that eliminates all “a”s present in a string?
str1 = “a programmer writing in python language”
This response will be reviewed and graded after submission.