Skip to main content
Commonmark migration
Source Link

Python 2/Python 3, 92

#Python 2/Python 3, 92 UsesUses the "standard" Python version check (integer vs. float division).

print("This program wasn't written in Python %d, it was built for Python %d!"%(3/2*2,4-3/2)) 

#Python 2/Python 3, 92 Uses the "standard" Python version check (integer vs. float division).

print("This program wasn't written in Python %d, it was built for Python %d!"%(3/2*2,4-3/2)) 

Python 2/Python 3, 92

Uses the "standard" Python version check (integer vs. float division).

print("This program wasn't written in Python %d, it was built for Python %d!"%(3/2*2,4-3/2)) 
deleted 1 character in body
Source Link
feersum
  • 31.8k
  • 10
  • 66
  • 125

#Python 2/Python 3, 12192 Uses the "standard" Python version check (integer vs. float division).

print("This program wasn't written in Python %d, it was built for Python %d!"%(3/2*2,4-3/2)) 

#Python 2/Python 3, 121 Uses the "standard" Python version check (integer vs. float division).

print("This program wasn't written in Python %d, it was built for Python %d!"%(3/2*2,4-3/2)) 

#Python 2/Python 3, 92 Uses the "standard" Python version check (integer vs. float division).

print("This program wasn't written in Python %d, it was built for Python %d!"%(3/2*2,4-3/2)) 
Source Link
feersum
  • 31.8k
  • 10
  • 66
  • 125

#Python 2/Python 3, 121 Uses the "standard" Python version check (integer vs. float division).

print("This program wasn't written in Python %d, it was built for Python %d!"%(3/2*2,4-3/2))