Is it possible to run an if loop controlled by an entry in python?

I am a rookie in python. I have this code to generate simulated bingo balls:

import random
letras = ('B','I','N','G','O')
randomletras = random.randint(0,4)
numeros = range(1,51)
randomnumeros = random.randint(0,49)
print((letras(randomletras)) + "-" + str(numeros(randomnumeros)))

print ("Nueva balota: s/n ?")
balota = input ("")

if balota =='s':
#aquí necesito volver a ejecutar todo el código anterior y volver a formular la pregunta           
#else:
    #print ('************fin del juego***********')   

so that random ballots are generated until "n & # 39; be selected

SQL Server – SELECT THE LAST ENTRY ON GROUP BY

 SELECT MAX(ID), ID, NEW_BALANCE, DATE, NAME, ACC_NO 
 FROM 
 (
  SELECT ID, NEW_BALANCE, DATE, NAME, ACC_NO 
  FROM account_logs 
  WHERE customer_id = 1061 
  ORDER BY DATE DESC, ID DESC 
) AS sub 
GROUP BY YEAR(date), MONTH(date) ORDER BY DATE ASC ;

This query does not return the last entry, but the old records. The internal request:

SELECT ID, NEW_BALANCE, DATE, NAME, ACC_NO 
FROM account_logs 
WHERE customer_id = 1061 
ORDER BY DATE DESC, ID DESC 

perfectly organize the recordings by the last entries, then I want to group the recording by first line?

Virtual Machines – Azure Virtual Machine Scale Set – Scale Entry During Task

This seems like a basic question, but I could not find an answer on Google.

How do sets of flip-flops know that a particular virtual computer has completed its work and can be replenished?

In the FAQ, virtual machines with the highest IDs are removed first. He does not say anything if it's mid-task or not.

This is important for my application because my tasks are long (about 30 minutes on a machine 1CPU / 4GB).

Small data entry

Need people for a small data entry job. It's just a copy / paste job. It would be more of a secondary job.

PM me with your Google Hangout or Skype if you are interested.

Need help aligning this "text" entry with an image aligned right and center [migrated]







header
{
    background: ;
    height:53px;
}

nav { display:inline-block; float:right; background:; }




Hi

list – Capture UserID, timestamp, then use it as a signature in an entry

I've used the following solution to get the user ID of the current SharePoint site user:

https://stackoverflow.com/questions/20981226/sharepoint-2013-get-current-user-using-javascript

Now, what I would like to do is, have some sort of way to capture this, add a timestamp and have that entry in an article field of a list. I've already created a signature column, which is where I want the user ID and timestamp to go.

I've seen another site do this and it seems like you click on a link and then a page pops up with the user ID and date. There is a sign and cancel button. If you tap sign, it saves an entry in a Sharepoint field.

Can this be done via JavaScript only?

html – the datetime entry shows no calendar

I have mine input datetime like that:

  • ">
  • It looks like this:

    enter the description of the image here

    But I wanted to have this option if I changed the date:

    enter the description of the image here

    When should an entry validation boundary change?

    When I was working on validation earlier, I asked some questions about validation. When does the color of an entry boundary need to change?

    • When should you change from (default or) no color to eg. a green border?
    • when should it go from (by default or) no color to eg. a red border?
    • When should it change, for example a red border, for example a
      green color border?

    Most of the time, I notice that the color of the border of the entry changes when submitting the form or when the value of the entry changes (see below as an example) .

    Example

    Change the color of the submission is not it too late?

    Change the color of the change in value of the entry is not it too wide? (What happens if I fill a number in a text entry field, the border will change from red to green when the value of the associated entry is actually invalid?)

    Are there any best practices or guidelines regarding the processing of entry validation with respect to the user experience?

    A gender mistake with the python entry?

    StdinNotImplementedError: raw_input was called, but this interface does not support input queries