LU06.L01: Positivity

def main():
    number = int(input('Give a number:\n'))
    if number > 0 :
        print('The number is positive.')
    else:
        print('The number is not positive.')
 
if __name__ == '__main__':
    main()
  • modul/archiv/m319python/learningunits/lu06/loesungen/positivity.txt
  • Zuletzt geändert: 2024/03/28 14:07
  • von 127.0.0.1