Untitled

From Toxic Crocodile, 5 Months ago, written in Plain Text, viewed 100 times.
URL http://codebin.org/view/c5d8a732 Embed
Download Paste or View Raw
  1. free_share = (len(df_free)*100)/len(df)
  2. ultra_share = ((len(df_ultra)*100)/len(df))
  3.  
  4. print(f'Поездок без подписки {free_share}%, а по подписке - {ultra_share}%')
  5.  
  6. #пробовала round в разные места ставить и через .n%.
  7. Пишет вот так: 'float' object has no attribute 'round'

Reply to "Untitled"

Here you can reply to the paste above