continue គឺជា statement ដែលជាបញ្ជាតំរូវអោយអនុវត្តសារឡើងវិញជាបន្ទាន់នូវ block នៃ statement នៅក្នុង statement while ឬ statement for ។
resume = {'name':'Kosal', 'last name':'Keo', 'age':35, 'address':'Cambodia'} b = 0 for ele in resume: b += 1 if b == 4: continue print('The value attached to the key', ele, 'is', resume[ele]) while b < 10: b += 1 if b == 7: continue print('b is the number', b)
The value attached to the key name is Kosal
The value attached to the key last name is Keo
The value attached to the key age is 35
b is the number 5
b is the number 6
b is the number 8
b is the number 9
b is the number 10
The value attached to the key last name is Keo
The value attached to the key age is 35
b is the number 5
b is the number 6
b is the number 8
b is the number 9
b is the number 10