Q:

str in python

import numpy as np
values=[1,10,100]
print(np.std(values))
values=[1,10,100,np.nan]
print(np.nanstd(values))
1
#Strings or alphabets or -, +, *, /, ", :, ;, (, ) etc
#If there is a string then it means the value will be inside coates
a = 'Roger'
print(a, 'is my name')
1
#converts numbers into strings
x = str(12) 
3
for x in range(0,len(no)): 
			rotation = no[x:len(no)] + no[0:x]
			if not prime(int(rotation)) :
				return False    
	return True
1

New to Communities?

Join the community