Changes between Version 107 and Version 108 of python


Ignore:
Timestamp:
Oct 10, 2016, 2:24:14 PM (8 years ago)
Author:
mtelenta
Comment:

popravka kode

Legend:

Unmodified
Added
Removed
Modified
  • python

    v107 v108  
    350350# Metoda za preverjanje poljubne predpone
    351351line = 'Please have a nice day'
    352 print(line.startswith('Please')                # Izpisalo se bo "True"
    353 print(line.startswith('please')                # Izpisalo se bo "False"
     352print(line.startswith('Please'))                # Izpisalo se bo "True"
     353print(line.startswith('please'))                # Izpisalo se bo "False"
    354354 
    355355