Python 10, forloop, while

 # #success loop

#for loop
# for i in range(3):
#     print('Hello')

# #penggunaan list dalam loop, success

# names : list[str] = ['febri','rian','febrian']
# for name in names:
#     print(f'hello, {name}')
#     print('...s')


# #while loop success
# while True:
#     print('hello')
# #ini tidak akan berhenti karena isi nya true semua, untuk stop nya press, ctrl + c


# #while 1 success
# i: int = 0
# while i < 3:
#     print(i)
#     i += 1

0 Response to "Python 10, forloop, while"

Posting Komentar