Skip to content

Latest commit

 

History

History
21 lines (21 loc) · 392 Bytes

File metadata and controls

21 lines (21 loc) · 392 Bytes

Python-Star-Project

print("enter the number\n") i=int(input()) print("enter the boolean number '0' or '1'\n") z=int(input()) u=bool(z) a=0 while 1: if u is False: while a<i: print((i-a)"") break a=a+1 else: while a<i: print((a+1)"") break a=a+1 print("Is this helpful?") print("Thank You") input()