Sunday, May 10, 2020

Python Class 115 - Kapil Sharma

#For Loop Example - 1:
my_Money5 = ["Dollar","Rupee","Ruble"]

for Money in my_Money5:
      print (Money, "Currency")
      
#For Loop Example - 2:
for i in range(1000):
    print ("i= ", i)
    if (i == 999):
        break

#While Loop:
count = 0
while count < 10:
    print("Count is less than ten.", count)
    count+=1

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Blockchain: 101 (By - Kapil Sharma)

 https://testing-mines.blogspot.com/2021/10/blockchain-101-by-kapil-sharma.html Blockchain through the following attributes: Distributed:  T...