SHARE
TWEET

Untitled

a guest Apr 18th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. total_web = 10
  2. total_speakers = 7539
  3.  
  4. chinese_speakers = 1107
  5. chinese_web_part = 0.017
  6.  
  7. english_speakers = 1121
  8. english_web_part = 0.539
  9.  
  10. russian_speakers = 264.3
  11. russian_web_part = 0.061
  12.  
  13.  
  14. english_speakers_part = english_speakers / total_speakers
  15. #print ('Доля людей, говорящих на английском:', english_speakers_part)
  16.  
  17. russian_speakers_part = russian_speakers / total_speakers
  18. #print ('Доля людей, говорящих на русском:', russian_speakers_part )
  19.  
  20. chinese_speakers_part = chinese_speakers / total_speakers
  21. print('Доля людей, говорящих на китайском:',chinese_speakers_part )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top