@MihiCherub මේකෙ බිංදුවේ ඉදන් කියල දෙනවද. මට programming සාමාන්යයෙන් පුලුවන්. job එක විදියට programming කරන්නේ නෑ. මගේ ජොබ් එකටත් Python වැදගත් වෙනව ඉස්සරහට එන trends හැටියට. කරගන්න ඕන මේක
samahara job requirement wala age limit ekak enawane ban. experience eka illana level ekakuth enawa. ithin oya dekama thiyenne one. age limit ekak nath nam experience illana level eka thiyenawa nam awlak na.age kathandare mokakda
ඔවු 0 ඉදන් කියල දෙනව. experience තිබ්බත් 0 ඉදන්ම කරන්න දවසට පැය 2ක් හොයන්. මම job එක විදියට java programming කරලත් 0 ඉදන්ම කරනව. ඒක වටිනව@MihiCherub මේකෙ බිංදුවේ ඉදන් කියල දෙනවද. මට programming සාමාන්යයෙන් පුලුවන්. job එක විදියට programming කරන්නේ නෑ. මගේ ජොබ් එකටත් Python වැදගත් වෙනව ඉස්සරහට එන trends හැටියට. කරගන්න ඕන මේක

import random
rock = '''
_______
---' ____)
(_____)
(_____)
(____)
---.__(___)
'''
paper = '''
_______
---' ____)____
______)
_______)
_______)
---.__________)
'''
scissors = '''
_______
---' ____)____
______)
__________)
(____)
---.__(___)
'''
gestures = [rock, paper, scissors]
selection = [0,1,2]
human_choice = int(input("What do you choose? Type 0 for Rock, 1 for Paper or 2 for Scissors\n"))
computer_choice = random.choice(selection)
#computer_choice = random.randint(0, 2)
print(gestures[human_choice])
print("Computer chose:")
print(gestures[computer_choice])
if human_choice == computer_choice:
print('Draw')
elif human_choice == 0 and computer_choice == 2:
print('You Win')
elif human_choice == 1 and computer_choice == 0:
print('You Win')
elif human_choice == 2 and computer_choice == 1:
print('You Win')
else:
print("You lose")
for number in range(1,101):
if number % 15 == 0: #smallest common multiplication
print('FizzBuzz')
elif number % 5 == 0:
print('Buzz')
elif number % 3 == 0:
print('Fizz')
else:
print(number)
andre ge course try karanna..me course ekath karanna asai. eth me tike js ivara karala dan react igena gannava. godak ewa allagaththahama ekakvath kerenne nahane. hoda react courses danna kattiya kiyanna mata.
day 04 eke bump ekak thibbe na. day 05 dapu post eka day 04 post ekata merge una.day 5 bump
kohomada meka part part wena wenama download karanne?
fruits = ['Apple', 'Orange', 'Pineapple', 'Lime', 'Mango']
index = 0
for fruit in fruits:
print(index, fruit)
index += 1
fruits = ['Apple', 'Orange', 'Pineapple', 'Lime', 'Mango']
for index,fruit in enumerate(fruits):
print(index, fruit)
# if index need to be start with different number
for index,fruit in enumerate(fruits, start=2):
print(index, fruit)
names = ['Bimal', 'Kasun', 'Nimal', 'Sunil', 'Aruna']
fruits = ['Apple', 'Orange', 'Pineapple', 'Lime', 'Mango']
# if need to loop over both lists at the same time
for name,fruit in zip(names, fruits):
print(f'{name} is likes {fruit}')
# if need to loop over both lists at the same time but get values in single tuples
for values in zip(names, fruits):
print(values)
bump
ada neh dekke. ada ree idan math join wennm.
me keeweni dawasada?
Bump
Math bagena na yanne dan
bump
මාත් අද buy කරා 11.99$ . හෙට ඉදන් වගේ සෙට් වෙන්න හදන්නෙ.
puluwan welawata bump ekak danna. nath nam ilaga dawase update karanna ba. eka laga comment 2k danna bari nisa..downloaded
puluwan welawata bump ekak danna. nath nam ilaga dawase update karanna ba. eka laga comment 2k danna bari nisa..
sample_string = '''You're beautiful. "Hello There"'''
value = "*" * 5
#Create blanks
display = []
word_length = len(chosen_word)
for x in range(word_length):
display.append('_')
blank_word = ''.join(display)
blank_word= '_' * len(word)
alphabet = list(string.ascii_lowercase)
alphabet = list(string.ascii_uppercase)
alphabet = list(string.ascii_letters)
>>> help(string) # on Python 3
....
DATA
ascii_letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
ascii_lowercase = 'abcdefghijklmnopqrstuvwxyz'
ascii_uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
digits = '0123456789'
hexdigits = '0123456789abcdefABCDEF'
octdigits = '01234567'
printable = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c'
punctuation = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'
whitespace = ' \t\n\r\x0b\x0c'
is_finished = False
while not is_finished:
# Do some stuff
if check_condition:
is_finished = True
while(True):
#Do some stuff
if check_condition:
break