+ 1

Write a python program to print your name 5 times using “while “loop (2)

4th Oct 2017, 3:47 PM
DJ K creation
DJ K creation - avatar
8 Answers
+ 1
This print name infinite times
22nd Jun 2019, 5:39 AM
Lakshay
Lakshay - avatar
0
This does print name infinite times
15th Mar 2020, 3:41 PM
Ali Nabhan
Ali Nabhan - avatar
0
Python program for remainder
16th Oct 2022, 11:07 AM
Dev Kumar
Dev Kumar - avatar
- 1
a=input("Enter your name:") b=1 while b<=5: print(a) b=b+1
1st Feb 2021, 3:30 AM
Harshit Dhaania
Harshit Dhaania - avatar
- 3
i=0 while i<5: print("your name") i+=1 #indent yourself
4th Oct 2017, 4:21 PM
Suhail Pappu
Suhail Pappu - avatar
- 3
#include<stdio.h> void main() { char b[80]; int a=1; scanf ("%c",&b); while (a<=5) { printf("%s\n",b); a=a+1; } }
24th Apr 2020, 5:03 PM
Shubham Khuntia
Shubham Khuntia - avatar
- 4
How to print ur name 10 times using while loop
15th Dec 2019, 4:35 PM
Muhammad Hashir
- 4
i=0 while i<5: print("your name") i+=1 #indent yourself
8th Jan 2020, 11:52 AM
Harshita Singh
Harshita Singh - avatar