Advertisement
Guest User

tec

a guest
Apr 20th, 2019
1,639
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.77 KB | None | 0 0
  1. import time
  2. print("Would you like Mohamed's Tech Wiki, or Mohamed's Food Wiki?")
  3. hmm = input().upper()
  4. if hmm == "MOHAMED'S TECH WIKI":
  5. MTW()
  6.  
  7. if hmm == "MOHAMED'S FOOD WIKI":
  8. MFW()
  9.  
  10. def MTW():
  11. print("Welcome to Mohamed's Tech Wiki!")
  12. print("There are 5 articles. Which one do you want? Please enter the name, no apostrophe.")
  13. names = {
  14. "Apple, "
  15. "Samsung, "
  16. "Google, "
  17. "OnePlus, "
  18. "Microsoft, "
  19. "Dell."
  20. }
  21. print(names)
  22. usin = input().upper()
  23. print("Your article about %s is loading..." % usin)
  24. time.sleep(3)
  25. if usin == 'GOOGLE':
  26. print("Google")
  27. print("It was founded in 1998 by Larry Page and Sergey Brin, then PhD students. They own a majority of the stock.")
  28. print("They have a massive service collection, including but not limited to:")
  29. print("Android")
  30. print("Android is an open source mobile OS, which is almost the entire mobile market's main operating system.")
  31. print("As such, Google themselves have made collaberations with OEMS with the Nexus line. Recently, they've made the Pixel line, which is made by Google")
  32. print("themselves. It has the best camera in the market, and is a flagship line.")
  33. print("Google Pixel line: \
  34. the Google Pixel line is a line of phones \
  35. by Google, which have good reviews. They are usually \
  36. flagship devices, and all (except the first) are water-resistant. \
  37. Their cameras are also very good, and Pixel 2+ force apps like snapchat to use the camera. \
  38. As such, they have features like Night Sight.")
  39. time.sleep(1.5)
  40. print("Google Docs")
  41. print("Google Docs and friends are all services based for in the office. However, it is also used for many other reasons like:")
  42. reasons = ["Surveys", "Gaming Server Moderation applications", "Job, Sixth Form and applications in general", "Powerpoint,Word, and Excel alternatives", "And many more."]
  43. print(reasons)
  44. print("There are also many other services, and I mean A LOT. But to save space, that's all we can use.")
  45. print("But don't forget is has a main, core service.")
  46. print("Google Search")
  47. print("People use this every day, and it is very well known.")
  48. print("It's what Google was founded on.")
  49. print("The Google Assistant is based on it.")
  50. print("That's all from Google, which is a rename of Googol.")
  51. input()
  52. elif usin == 'APPLE':
  53. print("Apple")
  54. print("When you think of a phone, you either think Android which I already spoke about. Or you think iPhone, the first touchscreen device that uses touch instead of a stylus!")
  55. print("The company's hardware products include the iPhone smartphone, the iPad tablet computer, the Mac personal computer, the iPod portable media player, \
  56. the Apple Watch smartwatch, the Apple TV digital media player, and the HomePod smart speaker. Apple's software includes the macOS and iOS operating systems, the iTunes media player, the Safari web browser, \
  57. and the iLife and iWork creativity and productivity suites, \
  58. as well as professional applications like Final Cut Pro, Logic Pro, and Xcode. \
  59. Its online services include the iTunes Store, the iOS App Store, Mac App Store, \
  60. Apple Music, Apple TV+, iMessage, and iCloud. Other services include Apple Store, \
  61. Genius Bar, AppleCare, Apple Pay, Apple Pay Cash, and Apple Card.")
  62. time.sleep(.7)
  63. print("Apple was founded by Steve Jobs, Steve Wozniak, and Ronald Wayne in April 1976 to develop and sell Wozniak's Apple I personal computer, \
  64. though Wayne sold his share back within 12 days. It was incorporated as Apple Computer, Inc., in January 1977, and sales of its computers, \
  65. including the Apple II, grew quickly. Within a few years, Jobs and Wozniak had hired a staff of computer designers and had a production line.")
  66. print("Since we have to talk about it's history: Apple was founded on April 1, 1976. It was founded by:Steve Jobs, Steve Wozniak, and Ronald Wayne.")
  67. print("That's all, from Apple.")
  68. input()
  69. elif usin == 'MICROSOFT':
  70. print("Microsoft")
  71. print("Microsoft Corporation (MS) is an American multinational technology company with headquarters in Redmond, Washington. It develops, manufactures, licenses, supports and sells computer software, consumer electronics, personal computers, and related services. \
  72. Its best known software products are the Microsoft Windows line of operating systems, the Microsoft Office suite, and the Internet Explorer and Edge web browsers. Its flagship hardware products are the Xbox video game consoles and the Microsoft Surface lineup of touchscreen personal computers. \
  73. As of 2016, it is the world's largest software maker by revenue, and one of the world's most valuable companies. The word 'Microsoft' is a portmanteau of 'microcomputer' and 'software'. Microsoft is ranked No. 30 in the 2018 Fortune 500 rankings of the largest United States corporations by total revenue.")
  74. time.sleep(1.2)
  75. print("Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975, to develop and sell BASIC interpreters for the Altair 8800. It rose to dominate the personal computer operating system market with MS-DOS in the mid-1980s, followed by Microsoft Windows. The company's 1986 initial public offering (IPO), and subsequent rise in its share price, created three billionaires and an estimated 12,000 millionaires among Microsoft employees.")
  76. print("Since the 1990s, it has increasingly diversified from the operating system market and has made a number of corporate acquisitions, their largest being the acquisition of LinkedIn for $26.2 billion in December 2016, followed by their acquisition of Skype Technologies for $8.5 billion in May 2011.")
  77. print("As of 2015, Microsoft is market-dominant in the IBM PC-compatible operating system market and the office software suite market, although it has lost the majority of the overall operating system market to Android.")
  78. print("The company also produces a wide range of other consumer and enterprise software for desktops and servers, including Internet search (with Bing), the digital services market (through MSN), mixed reality (HoloLens), cloud computing (Azure) and software development (Visual Studio). \
  79. Steve Ballmer replaced Gates as CEO in 2000, and later envisioned a devices and services strategy.")
  80. print("This began with buying Danger Inc. in 2008, entering the personal computer production market for the first time in June 2012 with the launch of the Microsoft Surface line")
  81. print("of tablet computers and later forming Microsoft Mobile through the acquisition of Nokia's devices and services division. Since Satya Nadella took over as CEO in 2014,")
  82. print("the company has scaled back on hardware and has instead focused on cloud computing, a move that helped the company's shares reach its highest value since December 1999. \
  83. In 2018, Microsoft surpassed Apple as the most valuable publicly traded company in the world after being dethroned by the tech giant in 2010.")
  84. input()
  85. elif usin == 'ONEPLUS':
  86. print("OnePlus")
  87. print("OnePlus is a chinese company, yet unlike a majority of brands from china(Xiaomi,Oppo Mobile and Huawei excluded,) it is very well known.")
  88. print("It's first phone was the OnePlus One, made in 2013. Here's the rest from Wikipedia. Just kidding. Or am I? DUNDUNDUN! \
  89. OnePlus was founded on 16 December 2013 by former Oppo vice-president Pete Lau and Carl Pei. \
  90. According to the Chinese government's documentation, the only institutional stockholder in OnePlus is Oppo Electronics. \
  91. Lau denied that OnePlus was a wholly-owned subsidiary of Oppo and stated that Oppo Electronics \
  92. and not Oppo Mobile (the phone manufacturer) is a major investor of OnePlus and that they are \
  93. in talks with other investors. The company's main goal was to design a smartphone that would balance high-end quality")
  94. time.sleep(1)
  95. print("with a lower price than other phones in its class, believing that users would Never Settle for the lower-quality devices produced by other companies.")
  96. print("Lau explained that we will never be different just for the sake of being different. Everything done has to improve the actual user experience in day-to-day use.[He also showed aspirations of being the Muji of the tech industry,")
  97. print("emphasizing its focus on high-quality products with simplistic, user-friendly designs. Continuing Lau's association with the platform from the Oppo N1,")
  98. print("OnePlus entered into an exclusive licensing agreement with Cyanogen Inc. to base its products' Android distribution upon a variant of the popular custom ROM CyanogenMod and use its trademarks outside of China.")
  99. input()
  100. elif usin == 'SAMSUNG':
  101. print("Samsung")
  102. print("Last but 100000% not last, Samsung")
  103. print("Samsung(Korean pronunciation: [samsʌŋ]; means 'tristar' in English) is a South Korean multinational conglomerate headquartered in Samsung Town, Seoul.")
  104. print("It comprises numerous affiliated businesses, most of them united under the Samsung brand, and is the largest South Korean chaebol (business conglomerate).")
  105. print("Samsung was founded by Lee Byung-chul in 1938 as a trading company. Over the next three decades, the group diversified into areas including food processing, \
  106. textiles, insurance, securities, and retail. \
  107. Samsung entered the electronics industry in the late 1960s and the construction and shipbuilding industries in the mid-1970s; \
  108. these areas would drive its subsequent growth. \
  109. Following Lee's death in 1987, Samsung was separated into four business groups – Samsung Group, Shinsegae Group, CJ Group and Hansol Group.")
  110. time.sleep(1.5)
  111. print ("1990, Samsung has increasingly globalised its activities and electronics; in particular, its mobile phones and semiconductors have become its most important source of income. As of 2017, Samsung has the 6th highest global brand value.")
  112. print("Notable Samsung industrial affiliates include Samsung Electronics (the world's largest information technology company, consumer electronics maker and chipmaker measured by 2017 revenues),")
  113. print("Samsung Heavy Industries (the world's 2nd largest shipbuilder measured by 2010 revenues), and Samsung Engineering and Samsung C&T (respectively the world's 13th and 36th largest construction companies). Other notable subsidiaries include Samsung Life Insurance the world's 14th largest life insurance company,")
  114. print("Samsung Everland (operator of Everland Resort, the oldest theme park in South Korea) and Cheil Worldwide (the world's 15th largest advertising agency measured by 2012 revenues). \
  115. Samsung has a powerful influence on South Korea's economic development, politics, media and culture and has been a major driving force behind the 'Miracle on the Han River'. \
  116. Its affiliate companies produce around a fifth of South Korea's total exports. \
  117. Samsung's revenue was equal to 17% of South Korea's $1,082 billion GDP.")
  118. input()
  119. elif usin == 'DELL':
  120. print("Dell")
  121. print("Dell is an American multinational company.")
  122. print("It is based in Round Rock, Texas. \
  123. It sells PCs, laptops, data devices and more. \
  124. It is well known by many, and used in many schools and businesses. \
  125. When they aquired Perot Systems, they entered the IT market. \
  126. the company has since made additional acquisitions in storage and \
  127. networking systems, with the aim of expanding their portfolio from \
  128. offering computers only to delivering complete solutions for enterprise customers.")
  129. print("Dell was listed at number 51 in the Fortune 500 list, until 2014 when they went private. \
  130. The newly confidential nature of its financial information prevents the company from being ranked by Fortune. \
  131. In 2015, it was the third largest PC vendor in the world after Lenovo and HP. Dell is the largest shipper of PC monitors worldwide. \
  132. Dell is the sixth largest company in Texas by total revenue, according to Fortune magazine.")
  133. print("It is the second largest non-oil company in Texas – behind AT&T – and the largest company in the Greater Austin area. \
  134. It was a publicly traded company (NASDAQ: DELL), \
  135. as well as a component of the NASDAQ-100 and S&P 500, \
  136. until it was taken private in a leveraged buyout which closed on October 30, 2013.\
  137. In 2015, Dell acquired the enterprise technology firm EMC Corporation; following the completion of the purchase, Dell and EMC became divisions of Dell Technologies.")
  138. else:
  139. print("It seems no article is made for that!, or there's been an error.")
  140. input()
  141.  
  142. #Mohamed's Food Wiki
  143. def MFW():
  144. print("Mohamed's Food Wiki!")
  145. print("Which brands would you like to see an article about?")
  146. name = ["McDonalds", "KFC", "Subway", "Sam's", "Costa", "Nando's"]
  147. print(name)
  148. thought = input().upper()
  149. if thought == "MCDONALDS":
  150. print("McDonalds")
  151. print("A fast food company with a shop in almost every company, people around the world are loving it.\
  152. McDonald's is an American fast food company, founded in 1940 as a restaurant operated by Richard and Maurice McDonald, in San Bernardino, California, United States. \
  153. They rechristened their business as a hamburger stand, and later turned the company into a franchise, with the Golden Arches logo being introduced in 1953 at a location in Phoenix, Arizona. \
  154. In 1955, Ray Kroc, a businessman, joined the company as a franchise agent and proceeded to purchase the chain from the McDonald brothers. \
  155. McDonald's had its original headquarters in Oak Brook, Illinois, but moved its global headquarters to Chicago in early 2018. \
  156. McDonald's is the world's largest restaurant chain by revenue, serving over 69 million customers daily in over 100 countries \
  157. across 37,855 outlets as of 2018. Although McDonald's is best known for its hamburgers, cheeseburgers and french fries, \
  158. they also feature chicken products, breakfast items, soft drinks, milkshakes, wraps, and desserts. \
  159. In response to changing consumer tastes and a negative backlash because of the unhealthiness of their food, \
  160. the company has added to its menu salads, fish, smoothies, and fruit. \
  161. The McDonald's Corporation revenues come from the rent, royalties, and fees paid by the franchisees, \
  162. as well as sales in company-operated restaurants. According to two reports published in 2018, \
  163. McDonald's is the world's fourth-largest private employer with 1.7 million employees (behind Walmart with 2.3 million employees).")
  164. elif thought == "KFC":
  165. print("Kentucky Fried Chicken")
  166. print("KFC, also known as Kentucky Fried Chicken, is an American fast food restaurant chain headquartered in Louisville, Kentucky that specializes in fried chicken. It is the world's second-largest restaurant chain (as measured by sales) after McDonald's, with 22,621 locations globally in 136 countries as of December 2018. \
  167. The chain is a subsidiary of Yum! Brands, a restaurant company that also owns the Pizza Hut, Taco Bell, and WingStreet chains. \
  168. KFC was founded by Colonel Harland Sanders, an entrepreneur who began selling fried chicken from his roadside restaurant in Corbin, Kentucky, during the Great Depression. Sanders identified the potential of the restaurant franchising concept, and the first "Kentucky Fried Chicken" franchise opened in Utah in 1952. \
  169. KFC popularized chicken in the fast food industry, diversifying the market by challenging the established dominance of the hamburger. \
  170. By branding himself as 'Colonel Sanders', Harland became a prominent figure of American cultural history, and his image remains widely used in KFC advertising to this day. \
  171. However, the company's rapid expansion overwhelmed the aging Sanders, and he sold it to a group of investors led by John Y. Brown Jr. and Jack C. Massey in 1964.")
  172. elif thought == "SUBWAY":
  173. print("Subway is an American privately held fast food restaurant franchise that primarily sells submarine sandwiches (subs) and salads. \
  174. Subway is one of the fastest-growing franchises in the world[2] and, as of June 2017, had approximately 42,000 stores located in more than 100 countries. More than half of the stores are located in the United States. It is the largest single-brand restaurant chain, and the largest restaurant operator, in the world. \
  175. As of 2017, the Subway Group of companies was organized as follows: \
  176. Subway IP Inc. is the owner of the intellectual property for the restaurant system.\
  177. Franchise World Headquarters, LLC leads franchising operations. FWH Technologies, LLC owns and licenses Subway's point of sale software.\
  178. Franchisors include Doctor's Associates Inc. in the U.S.; Subway International B.V.; Subway Franchise Systems of Canada, Ltd.; etc. \
  179. Advertising affiliates include Subway Franchisee Advertising Fund Trust, Ltd.; Subway Franchisee Advertising Fund Trust, B.V.; Subway Franchisee Canadian Advertising Trust; etc. \
  180. Subway's international headquarters are in Milford, Connecticut, with five regional centers supporting the company's international operations. \
  181. The regional offices for European franchises are located in Amsterdam (Netherlands); the Australian and New Zealand locations are supported from Brisbane (Australia); \
  182. the Asian locations are supported from offices in Beirut (Lebanon) and Singapore; and the Latin American support center is in Miami.")
  183. elif thought == "SAM'S":
  184. print("Sam's Chicken is a British fast food chain. It has 34 outlets, the majority of which are in west and north west London.\
  185. It was founded in 1990 by Sri Lankan Sam Chandrasinghe, with the opening of its first restaurant in Wealdstone, Harrow, north west London. \
  186. Chandrasinghe had previously worked for KFC UK as deputy operations director.\
  187. Sam's Chicken's food is produced with 100% rapeseed oil, meaning healthier fast food, \
  188. and its London stores were certified with the ‘Healthier Catering Commitment for London’. \
  189. Their products are also halal certified. Sam's Chicken pioneered the two burgers for £2 deal, \
  190. which was revolutionary at the time.")
  191. elif thought == "COSTA":
  192. print("Costa Coffee is a British multinational coffeehouse company headquartered in Dunstable, Bedfordshire. \
  193. Costa Coffee was founded in London in 1971 by the Costa family as a wholesale operation supplying roasted coffee to caterers and \
  194. specialist Italian coffee shops. Acquired by Whitbread in 1995, it was sold in 2019 to The Coca-Cola Company in a deal worth £3.9bn, and \
  195. has grown to 3,401 stores across 31 countries. The business has 2,121 UK restaurants, over 6,000 Costa Express vending facilities and \
  196. a further 1,280 outlets overseas (including 460 in China). \
  197. The Coca-Cola Company announced its intention of acquiring Costa Limited from parent company Whitbread PLC for $5.1 billion. \
  198. The deal closed on 3 January 2019, it gives the cola giant a strong coffee platform across parts of Europe, Asia Pacific, the Middle East, and Africa. \
  199. It is the second largest coffeehouse chain in the world, and the largest in the UK.")
  200. elif thought == "NANDO'S":
  201. print("Nando's opened its first UK restaurant in 1992 in the west London suburbs of Ealing and Earls Court, initially focusing on takeaway food. \
  202. The UK arm, owned by the Enthoven family via a private equity company, struggled until chairman Dick Enthoven put his son Robert in control. \
  203. The focus then moved from takeaways to a mixed service (counter ordering and table service) model. \
  204. Branches also chose individual design and decor to move away from a restaurant-chain image. \
  205. The company employs around 8,000 staff in the UK and, as of 2013, had over 280 branches in Great Britain and Northern Ireland, \
  206. with some 60 serving food conforming with Muslim dietary laws (halal). \
  207. In 2010, Nando's UK won the Sunday Times's best place to work award in the big company category. \
  208. Its sauces and marinades were also retailed in UK supermarkets.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement