conditional statements code snippets in python

a = 'b'. i want to change the name of ojbect a based on condition in python
calculate prime factors of 216 in python
change the name of an instance based on condition in python
create a calculator with user input in python
create a loop that checks a 2d array to see if any single dimension contains all of the same elements in python
how to make a while loop in python
idx = 0 numchars = 0 astr = "this is a string to use in the example" for chr in astr: numchars += 1 if chr == 'i': idx = idx + 1 in python
if a i value is inforior or equal to 10 and superior or equal to 5 in python
if a i value is inforior to 10 and superior to 5 in python
if a i value is inforior to 5 or superior to 10 in python
if condition for a value to be between 0.05 and 0.10 in python
is prime in python
loop a two dimensional array and create a new one with numbers over 10 in python
loop through array and add items to string if index is not 1 in python
make rock paper scissors in python
non repeated character in string in python
pause loop when capslock is on in python
randomly generate list and remove negative values in python
remove a file if it exists in python
switch case in python
take 5 employee name inputs and store in a list, take corresponding age in second list. display minimum age and corresponding name in python
the program receives one line as input, which outputs the message "digit" (without quotes) if the string contains a digit. otherwise, print the message "there are no numbers" (without quotes). in python
write a fizzbuzz in python
на вход программе подается одна строка. напишите программу, которая определяет сколько раз в строке встречаются символы + и *. in python
программу, которая определяет количество гласных и согласных букв in python

gistlibby LogSnag