What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-27 01:50:04
how to reverse word order in python
## initializing the string string = "I am a python programmer" ## splitting the string on space words = string.split() ## reversing the words using reversed() function words = list(reversed(words)) ## joining the words and printing print(" ... Add solution -
Python 2022-01-23 19:12:03
how to get tweets from twitter api in python
import os import tweepy as tw import pandas as pd consumer_key= 'yourkeyhere' consumer_secret= 'yourkeyhere' access_token= 'yourkeyhere' access_token_secret= 'yourkeyhere' auth = tw.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access... Add solution -
Python 2021-09-22 15:07:02
typing test python
How to test Typing Speed using Python? Difficulty Level : Basic Last Updated : 05 Sep, 2020 Prerequisites: Python GUI – tkinter #We will create a program test the typing speed of the user with a basic GUI application using Python language. Here th... Add solution -
Python 2021-09-07 12:04:01
py fhir
# Import the relevant classes from fhir.model from fhir.model import Patient, HumanName, Identifier, CodeableConcept, Coding, uri # Create a new Patient object. Resource attributes can be passed in the constructor. Note # that 'id' is the logical id of t... Add solution