Articles by Tag #looping

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Datatypes, Variables,Operators, Conditional Statements,Looping in Javascript

Datatypes in JS: In JavaScript, a data type defines the type of value that a variable can hold. The...

Learn More 3 0Jan 22

Weekend Task

1.Fahrenheit to Celsius Conversion: def fahrenheit_to_celsius(): celsius=(fahrenheit-32)*5/9 ...

Learn More 2 0Dec 1 '24

Day 14 - Looping

1.Find the number is prime or not A prime number is only divisible by 1 and the number itself. no...

Learn More 2 1Dec 2 '24

Day 13 - Looping and Puzzle program

1.Collatz sequence Write a program that prints the Collatz sequence for a given number until it...

Learn More 2 0Nov 29 '24

Python Day-12 Looping-Exercises,Number game and Tasks

1)Write a program to get this output: 1 2 3 4 5 5 4 3 2 1 no = 1 top =...

Learn More 2 0Nov 29 '24

Python Day - 11 Looping-Examples and Tasks

Task:1 #Print Numbers #Write a program to print numbers from 1 to 10 using a while loop. def...

Learn More 1 0Nov 28 '24

Day 11 - Looping exercises

Here are some while loop questions focused on numbers for practice: Basic Problems 1.Print Numbers ...

Learn More 1 0Nov 27 '24

Day 12 - Looping Excercises

1.Print this number: 1 2 3 4 5 5 4 3 2 1 no = 1 top = 5 direction = 1 while no>0: ...

Learn More 1 0Nov 28 '24

Python Day-9 Predefined modules,While loop,Task

Predefined modules sys module:(sys.argv) In this module sys.argv is used to show output as...

Learn More 1 0Nov 24 '24

Python Day- 14 Looping-Exercises and tasks

Prime Numbers: Numbers which are divisible by 1 and itself are called as prime...

Learn More 0 0Dec 2 '24

Python Day-13 Looping-puzzles

Find whether all digits in a number are equal: no = int(input("Enter no. ")) #333 equal = no%10...

Learn More 0 0Nov 29 '24

Day 10 - Looping

Write a program to calculate age: from datetime import datetime dob = input("Enter your Date of...

Learn More 0 0Nov 25 '24

Day 9 - Looping

pycache: pycache is a directory created by Python to store compiled versions of your Python scripts....

Learn More 0 0Nov 25 '24