LU05.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()

Kevin Maurizi, Marcel Suter

  • modul/m319/learningunits/lu05/loesungen/positivity.txt
  • Last modified: 2023/11/13 08:56
  • by 127.0.0.1