Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python aritmethic print

x = 27
y = 15
 
print(f"{x} + {y} = {x+y}")
print(f"{x} - {y} = {x-y}")
print(f"{x} * {y} = {x*y}")
# Printing can also be made as follows:
print(x, "/", y, "=", (x / y))
Comment

PREVIOUS NEXT
Code Example
Python :: how to clear command prompt python 
Python :: python convert html to text 
Python :: how to move the pointer on screen using python 
Python :: pandas sort values group by 
Python :: install django windows 
Python :: python get html info 
Python :: python intersection of two lists 
Python :: show all rows with nan for a column value pandas 
Python :: install python package from git colab 
Python :: python create random matrix 
Python :: ERROR: Failed building wheel for python-ldap 
Python :: prime number program in python print 1 to 100 
Python :: python wsgi server 
Python :: how to get the code of a website in python 
Python :: backwards loop over list in python 
Python :: regex in python to obtain only the string in python 
Python :: flask make static directory 
Python :: add percentage column pandas 
Python :: simulated annealing python 
Python :: Static Assets in Django 
Python :: python know the number of a loop 
Python :: value_counts to list 
Python :: import pyttsx3 
Python :: django template datetime-local 
Python :: write list of dicts to csv python 
Python :: plot horizontal line in python 
Python :: py insert char at index 
Python :: encrypt and decrypt python 
Python :: logging the terminal output to a file 
Python :: how to roll longitude axis 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =