Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

c++ converter to python

#include <iostream>
using namespace std;
int main()
{
    int puppies, kitties;
    cout<<"Enter the number of puppies: ";
    cin>>puppies;
    cout<<"Enter the number of kitties: ";
    cin>>kitties;
    if(puppies <= 1)
        cout<<"You have adopted "<<puppies<<" puppy ";
    else
        cout<<"You have adopted "<<puppies<<" puppies ";
    if(kitties <= 1)
        cout<<"and "<<kitties<<" kitty";
    else
        cout<<"and "<<kitties<<" kitties";
    return 0;
}
Comment

PREVIOUS NEXT
Code Example
Python :: Integers come in all sizes solution in python3 
Python :: k7yKJk8vdjHvw56q7bCTxibvT 
Python :: pip django graphql 
Python :: identifiers in pyhton 
Python :: ggt euklidischer algorithmus python 
Python :: add a new button in the index of the page wagtail 
Python :: Python colorbar for circular heatmap 
Python :: TemplateSyntaxError 
Python :: python how to geather and spread using pandas 
Python :: pandas get cvvlaue from antoiher column fom one coluikmnn value 
Python :: django create username and password from csv 
Python :: python to java converter 
Python :: tyjacsav 
Python :: when was python 3.7 released 
Python :: text image thresholding 
Python :: Python run module with and without "-m" option and import path setting 
Python :: is file a keywoard in python 
Python :: HTTP Error 403: Forbidden django account signup email 
Python :: currelation matrix python 
Python :: The Model display 
Python :: check substring frequency in a text python 
Python :: 3x3 gaussian kernel 
Python :: jupyter notebook loading bar 
Python :: javascript parse url with values and anchors 
Python :: Python downsampling 
Python :: how to convert comma separated string to list in python 
Python :: numpy array majority and how many 
Python :: unbreakable box made of diamond 
Python :: adding hyperlinks in streamlit table 
Python :: organize order columns dataframe 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =