Bissoy.com
Login
Doctors Medicines MCQs Q&A
Ask Merit Test Questions Courses

Convert the following for loop into while loop, for i in range (1,100):

Convert the following for loop into while loop, for i in range (1,100):

if i % 4 == 2 :

print i, “mod”, 4 , “= 2”

Monjur Alahi
Monjur Alahi
4 views
2025-01-04 04:42

1 Answers

Salim Ahmed Kawsar
Salim Ahmed Kawsar

i=1

while i < 100:

if i % 4 == 2:

print i, “mod”, 4 , “= 2”

i = i +1

4 views Answered 2023-02-05 15:29

Related Questions

The ………….. and …………… operations copies data from source range to target range and erases it from the source range.
1 Answers 5 Views
Can you use one or more loop inside any another while, for or do., while loop ?
1 Answers 5 Views
Convert the following for loop into while loop. for i in range(10):
1 Answers 6 Views
Rewrite the following for loop into while loop: for a in range(25,500,25):
1 Answers 24 Views
Rewrite the following for loop into while loop: for a in range(90, 9, -9):
1 Answers 5 Views
Convert the following while loop into for loop: i = 0
1 Answers 4 Views
Convert the following while loop into for loop char = ""
1 Answers 4 Views
Rewrite the following while loop into for loop: i = 10
1 Answers 4 Views
Rewrite the following while loop into for loop: i=88
1 Answers 5 Views
Explain the following: (a) Diurnal range of temperature. (b) Mean Monthly Range of Temperature. (c) Mean Annual Range of Temperature.
1 Answers 4 Views
  • কোরআন
  • হাদিস
  • চাকুরি প্রস্তুতি
  • বিশ্ববিদ্যালয় ভর্তি
  • মেডিকেল SBA
  • 12 এইচএসসি
  • 10 এসএসসি
  • 8 জেএসসি
এক্সাম দিয়ে মেধা যাচাই করুন
Job Preparation (1125)
Admission (754)
এসএসসি (10)
এইচএসসি (5)
Login Required

You need to log in to continue.

Login
Download Required

You need to download the app to make a call.

Download
ভিডিও কলে কথা বলতে প্লে স্টোর থেকে Bissoy অ্যাপ ডাউনলোড করুন অথবা প্রশ্ন উত্তর করতে লগইন করুন
📱 ডাউনলোড
  • অ্যাফিলিয়েট
  • FAQ
  • About Us
  • Privacy Policy
  • T&C
  • DMCA

© Bissoy, 2014 - 2025