Explorar o código

improve stock creation script

Eren Yilmaz %!s(int64=6) %!d(string=hai) anos
pai
achega
cdbaeb134e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      create_new_stock.py

+ 1 - 1
create_new_stock.py

@@ -2,5 +2,5 @@ import model
 from admin_console import cleanup
 
 if __name__ == '__main__':
-    print(model.new_stock(30))
+    print(model.new_stock(input('How long will the initial selling be available?')))
     cleanup()