Showing posts from May, 2023
prime number or not in cpp

prime number or not in cpp

// Online C++ compiler to run C++ program online #include <iostream> using namespace std; int main() {   int num…

Read Now
fibonssi number in cpp

fibonssi number in cpp

// Online C++ compiler to run C++ program online #include <iostream> using namespace std; int main() {    int i …

Read Now
python main and name

python main and name

def vishalReturn ( str ):     return f "This is the best strin here { str } " def addSum ( num1 , num2 )…

Read Now
import statement in the python

import statement in the python

import math print(math.factorial(4)) check import module path in the python import sys print(sys.path) print th…

Read Now
SyntaxError: invalid syntax

SyntaxError: invalid syntax

SyntaxError: invalid syntax  num1 = (int)input()                 ^^^^^ Error code :-  num1 = (int)input() Solution …

Read Now
fstring in the python

fstring in the python

# f - string tutorial  a = "Vishal " b = 26 # first method to bind the variable # c = "This is %s "…

Read Now
fibnossi number using python

fibnossi number using python

no = int(input("Enter the number")) a = 0 b= 1 c = 0 i = 1 print(a) print(b) while(i<no):     c = a+b    …

Read Now
Load More That is All